diff --git a/helper.go b/helper.go index 0171a3e..1a3737f 100644 --- a/helper.go +++ b/helper.go @@ -12,7 +12,7 @@ func Contains(a []string, x string) bool { if x == n { return true } - if "@" + x == n { + if "@"+x == n { return true } } diff --git a/mail.go b/mail.go index e500ae9..a24673d 100644 --- a/mail.go +++ b/mail.go @@ -27,7 +27,7 @@ Subject: Passwortaenderung auf https://mini-beieli.ch, bitte bestaetigen Lieber Benutzer von mini-beieli.ch Sie haben soeben eine Passwortaenderung veranlasst. Bitte klicken Sie folgenden Link, -um die Registration abzuschliessen: +um das neue Passwort zu aktivieren: https://mini-beieli.ch/confirm?id=` + confirm_id + ` diff --git a/main.go b/main.go index e602a02..a3ed6aa 100644 --- a/main.go +++ b/main.go @@ -5,8 +5,8 @@ import ( "net/http" "os" "path" + "strings" "time" - "strings" ) func serveTemplate(w http.ResponseWriter, r *http.Request) {