all repos — flounder @ 3c292c8b767eb438c0de7f6c198514eeced63a7f

A small site builder for the Gemini protocol

Fix email spacing
alex wennerberg alex@alexwennerberg.com
Sat, 12 Dec 2020 13:21:52 -0800
commit

3c292c8b767eb438c0de7f6c198514eeced63a7f

parent

eb5675cebd32825947b6db7260727b7d180b9452

1 files changed, 5 insertions(+), 8 deletions(-)

jump to
M admin.goadmin.go

@@ -98,15 +98,12 @@ os.Mkdir(path.Join(c.FilesDirectory, username), os.ModePerm)

ioutil.WriteFile(path.Join(c.FilesDirectory, username, "index.gmi"), []byte(baseIndex), 0644) os.Mkdir(path.Join(c.FilesDirectory, username), os.ModePerm) if c.SMTPUsername != "" { - SendEmail(email, "Welcome to Flounder!", fmt.Sprintf(`Hi - %s, Welcome to Flounder! You can now log into your account at - https://flounder.online/login -- For more information about - Flounder, check out https://admin.flounder.online/ - - Let me know if you have any questions, and have fun! + SendEmail(email, "Welcome to Flounder!", fmt.Sprintf(` +Hi %s, Welcome to Flounder! You can now log into your account at +https://flounder.online/login -- For more information about +Flounder, check out https://admin.flounder.online/ - Alex - `, username)) +Let me know if you have any questions, and have fun!`, username)) } return nil }