Skip to content

Commit

Permalink
Fixed issue: Wrong error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Aestu committed May 21, 2016
1 parent 0385f27 commit 85fd7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/core/plugins/AuthLDAP/AuthLDAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ public function newUserSession()
{
// if no entry or more than one entry returned
// then deny authentication
$this->setAuthFailure(100, ldap_error($ldapconn));
$this->setAuthFailure(self::ERROR_USERNAME_INVALID);
ldap_close($ldapconn); // all done? close connection
return;
}
Expand Down

0 comments on commit 85fd7a9

Please sign in to comment.