Fix email spacing
alex wennerberg alex@alexwennerberg.com
Sat, 12 Dec 2020 13:21:52 -0800
1 files changed,
5 insertions(+),
8 deletions(-)
jump to
M
admin.go
→
admin.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 }