fix some ldap errors
This commit is contained in:
parent
4c0c5b64c2
commit
24e81ce4d5
|
@ -97,7 +97,7 @@ class OC_USER_LDAP extends OC_USER_BACKEND {
|
||||||
return $entries[0]["dn"];
|
return $entries[0]["dn"];
|
||||||
}
|
}
|
||||||
public function checkPassword( $uid, $password ) {
|
public function checkPassword( $uid, $password ) {
|
||||||
if(!self::$configured){
|
if(!$this->configured){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$dn = $this->getDn( $uid );
|
$dn = $this->getDn( $uid );
|
||||||
|
@ -108,7 +108,7 @@ class OC_USER_LDAP extends OC_USER_BACKEND {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function userExists( $uid ) {
|
public function userExists( $uid ) {
|
||||||
if(!self::$configured){
|
if(!$this->configured){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$dn = $this->getDn($uid);
|
$dn = $this->getDn($uid);
|
||||||
|
|
Loading…
Reference in New Issue