improve meta-info.env

This commit is contained in:
arya committed 2023-01-19 23:10:36 +05:30
1 parent f74a2c124e
commit 66094fad5a
2 files changed
+7 -6

No files matched your search

+6 -6
View File
@@ -1,6 +1,6 @@
FULL_NAME="Test User"
GEMINI_CAPSULE=gemini://test.com
WEBSITE=https://test.com
DESCRIPTION="A Test User"
EMAIL="test@test.com"
LOCATION="Some Place"
FULL_NAME=
GEMINI_CAPSULE=gemini://REPLACEME.p.projectsegfau.lt
WEBSITE=https://REPLACEME.p.projectsegfau.lt
DESCRIPTION=""
EMAIL=
LOCATION=
+1
View File
@@ -42,6 +42,7 @@ func SignupPage(c *fiber.Ctx) error {
"echo \"${pass}\" > /home/" + username + "/pass\n" +
"chmod 600 /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!\""
// write to file