From 3b619af9137b0096a810f0607c5e7c667b4a2e3b Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Sun, 23 Jul 2023 17:08:31 +0200 Subject: [PATCH] G Pas --- login.go | 1 + 1 file changed, 1 insertion(+) diff --git a/login.go b/login.go index 0012fb1..36f7236 100644 --- a/login.go +++ b/login.go @@ -248,6 +248,7 @@ func handleLogin(w http.ResponseWriter, r *http.Request) *LoginInfo { if err != nil { data := &LoginFormData{ Username: username, + Login: false, } if ldap.IsErrorWithCode(err, ldap.LDAPResultInvalidCredentials) { data.WrongPass = true