forgot the newline

This commit is contained in:
Arya 2023-01-21 14:29:41 +05:30
parent 772b1aeed4
commit 14a6965be5
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -46,7 +46,7 @@ func SignupPage(c *fiber.Ctx) error {
"sed s/REPLACEME/" + username + "/g /home/" + username + "/{meta-info.env,Caddyfile}\n" +
"loginctl enable-linger " + username + "\n" +
"setquota -u " + username + " 20G 20G 0 0 /\n" +
"echo \"" + username + "'s account has been created!\"" +
"echo \"" + username + "'s account has been created!\"\n" +
"rm -rf $0"
chmoderr := os.Chmod("/var/publapi/users/"+username+".sh", 0700)