improve meta-info.env
This commit is contained in:
parent
f74a2c124e
commit
66094fad5a
@ -1,6 +1,6 @@
|
|||||||
FULL_NAME="Test User"
|
FULL_NAME=
|
||||||
GEMINI_CAPSULE=gemini://test.com
|
GEMINI_CAPSULE=gemini://REPLACEME.p.projectsegfau.lt
|
||||||
WEBSITE=https://test.com
|
WEBSITE=https://REPLACEME.p.projectsegfau.lt
|
||||||
DESCRIPTION="A Test User"
|
DESCRIPTION=""
|
||||||
EMAIL="test@test.com"
|
EMAIL=
|
||||||
LOCATION="Some Place"
|
LOCATION=
|
||||||
|
@ -42,6 +42,7 @@ func SignupPage(c *fiber.Ctx) error {
|
|||||||
"echo \"${pass}\" > /home/" + username + "/pass\n" +
|
"echo \"${pass}\" > /home/" + username + "/pass\n" +
|
||||||
"chmod 600 /home/" + username + "/pass\n" +
|
"chmod 600 /home/" + username + "/pass\n" +
|
||||||
"chown " + username + ":" + username + " /home/" + username + "/pass\n" +
|
"chown " + username + ":" + username + " /home/" + username + "/pass\n" +
|
||||||
|
"sed s/REPLACEME/" + username + "/g /home/" + username + "/meta-info.env\n" +
|
||||||
"echo \"" + username + "'s account has been created!\""
|
"echo \"" + username + "'s account has been created!\""
|
||||||
|
|
||||||
// write to file
|
// write to file
|
||||||
|
Loading…
Reference in New Issue
Block a user