Trying a utility file

This commit is contained in:
Chris Mann 2023-07-20 14:06:42 +02:00
parent 93d0744f92
commit 52569a4b08

View file

@ -135,7 +135,7 @@ func handleNewAccount(w http.ResponseWriter, r *http.Request, l *ldap.Conn, invi
password1 := strings.Join(r.Form["password"], "")
password2 := strings.Join(r.Form["password2"], "")
if password1 == password2 {
if password1 != password2 {
data.Success = false
data.ErrorPasswordMismatch = true
} else {