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
|
|
@ -16,6 +16,7 @@
|
|||
- fixed #10121: Q and A template doesn't work with default Forum Rich Editor
|
||||
- rfe #10423: Provide a way to access the instance of the thing that was added, modified, or deleted via workflow. (Eric Kennedy)
|
||||
- fixed #10486: Hardcoded extras in files in www/extras
|
||||
- fixed: LDAP authentication does not check for failed passwords. Bug added to 7.7.10.
|
||||
|
||||
7.7.9
|
||||
- fixed #10266: Public Profile overrides Able to be friend
|
||||
|
|
|
|||
|
|
@ -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>';
|
||||
|
|
|
|||
|
|
@ -125,7 +125,6 @@ sub authenticate {
|
|||
return 1;
|
||||
}
|
||||
$self->user(WebGUI::User->new($self->session,1));
|
||||
my $i18n = WebGUI::International->new($self->session);
|
||||
$self->SUPER::authenticationError;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue