Skip to content
Snippets Groups Projects
Commit 578d1de5 authored by Caio Marcelo de Oliveira Filho's avatar Caio Marcelo de Oliveira Filho
Browse files

Fix OC_USER_LDAP::checkPassword() to return the username

REVIEW: 102487
parent b579c812
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,9 @@ class OC_USER_LDAP extends OC_User_Backend {
if( !$dn )
return false;
return @ldap_bind( $this->getDs(), $dn, $password );
if (!@ldap_bind( $this->getDs(), $dn, $password ))
return false;
return $uid;
}
public function userExists( $uid ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment