Ghost password can now only be used once

This commit is contained in:
Girish Ramakrishnan
2020-10-08 22:19:18 -07:00
parent 0064ac5ead
commit 9b57329f56
+1 -1
View File
@@ -42,7 +42,7 @@ while true; do
ghost_file=/home/yellowtent/platformdata/cloudron_ghost.json
printf '{"%s":"%s"}\n' "${admin_username}" "${admin_password}" > "${ghost_file}"
chown yellowtent:yellowtent "${ghost_file}" && chmod o-r,g-r "${ghost_file}"
echo "Login as ${admin_username} / ${admin_password} . Remove ${ghost_file} when done."
echo "Login as ${admin_username} / ${admin_password} . This password may only be used once. ${ghost_file} will be automatically removed after use."
exit 0
;;
--) break;;