Make LDAP auth return an error for failure to match passwords.
This commit is contained in:
parent
09ba3dba91
commit
be15838529
3 changed files with 2 additions and 2 deletions
|
|
@ -180,7 +180,7 @@ sub authenticate {
|
|||
|
||||
# Authentication failed
|
||||
if ($auth->code == 48 || $auth->code == 49){
|
||||
$self->SUPER::authenticationError;
|
||||
$error .= $self->SUPER::authenticationError;
|
||||
}
|
||||
elsif ($auth->code > 0) { # Some other LDAP error happened
|
||||
$error .= '<li>LDAP error "'.$self->ldapStatusCode($auth->code).'" occured.'.$i18n->get(69).'</li>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue