Fixed #10450: Different errormessages on login failure
This commit is contained in:
parent
20a333cde8
commit
aab891a5b6
5 changed files with 21 additions and 8 deletions
|
|
@ -180,7 +180,7 @@ sub authenticate {
|
|||
|
||||
# Authentication failed
|
||||
if ($auth->code == 48 || $auth->code == 49){
|
||||
$error .= '<li>'.$i18n->get(68).'</li>';
|
||||
$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