diff --git a/pages/signup.go b/pages/signup.go index b0779b9..9aa0186 100644 --- a/pages/signup.go +++ b/pages/signup.go @@ -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)