Skip to content

Commit

Permalink
re-add logger and return correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil <[email protected]>
  • Loading branch information
akhil1508 committed Dec 22, 2022
1 parent effd517 commit 7ee61dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/user_ldap/lib/User_LDAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@ public function checkPassword($uid, $password) {
'LDAP Login: Could not get user object for DN ' . $dn .
'. Maybe the LDAP entry has no set display name attribute?',
['app' => 'user_ldap']
);

);
return false;
}
$this->access->cacheUserExists($user->getUsername());
$user->markLogin();
return $user->getUsername();
Expand Down

0 comments on commit 7ee61dd

Please sign in to comment.