mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
fix some ldap errors
This commit is contained in:
parent
4c0c5b64c2
commit
24e81ce4d5
1 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ class OC_USER_LDAP extends OC_USER_BACKEND {
|
|||
return $entries[0]["dn"];
|
||||
}
|
||||
public function checkPassword( $uid, $password ) {
|
||||
if(!self::$configured){
|
||||
if(!$this->configured){
|
||||
return false;
|
||||
}
|
||||
$dn = $this->getDn( $uid );
|
||||
|
|
@ -108,7 +108,7 @@ class OC_USER_LDAP extends OC_USER_BACKEND {
|
|||
}
|
||||
|
||||
public function userExists( $uid ) {
|
||||
if(!self::$configured){
|
||||
if(!$this->configured){
|
||||
return false;
|
||||
}
|
||||
$dn = $this->getDn($uid);
|
||||
|
|
|
|||
Loading…
Reference in a new issue