G Pas
This commit is contained in:
parent
7f3439da05
commit
3b619af913
1 changed files with 1 additions and 0 deletions
1
login.go
1
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
|
||||
|
|
Loading…
Reference in a new issue