Theming
This commit is contained in:
6
lost.go
6
lost.go
@@ -112,10 +112,10 @@ func lostPassword(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
// Send the email
|
||||
m := gomail.NewMessage()
|
||||
m.SetHeader("From", "noreply@qarnot-computing.net")
|
||||
m.SetHeader("From", "noreply@nemunai.re")
|
||||
m.SetHeader("To", email)
|
||||
m.SetHeader("Subject", "SSO qarnot.net: password recovery")
|
||||
m.SetBody("text/plain", "Hello " + cn + "!\n\nSomeone, and we hope it's you, requested to reset your account password. \nIn order to continue, go to:\nhttps://login.qarnot.net/reset?l=" + r.PostFormValue("login") + "&t=" + token + "\n\nBest regards,\n-- \nQarnot SSO")
|
||||
m.SetHeader("Subject", "SSO nemunai.re: password recovery")
|
||||
m.SetBody("text/plain", "Hello " + cn + "!\n\nSomeone, and we hope it's you, requested to reset your account password. \nIn order to continue, go to:\nhttps://ldap.nemunai.re/reset?l=" + r.PostFormValue("login") + "&t=" + token + "\n\nBest regards,\n-- \nnemunai.re SSO")
|
||||
|
||||
// Using local sendmail: delegate to the local admin sys the responsability to transport the mail
|
||||
s := gomail.SendFunc(func(from string, to []string, msg io.WriterTo) error {
|
||||
|
||||
Reference in New Issue
Block a user