mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
LDAP: don't keep possibly outdated passwords
This commit is contained in:
parent
d8e54acbf3
commit
8ed4606685
1 changed files with 0 additions and 4 deletions
|
|
@ -94,10 +94,6 @@ class OC_USER_LDAP extends OC_User_Backend {
|
|||
if( !$this->ldap_dc )
|
||||
return false;
|
||||
|
||||
$email = OC_Preferences::getValue($uid, 'settings', 'email', '');
|
||||
if ( !empty( $email ) )
|
||||
return false;
|
||||
|
||||
$email = $this->ldap_dc[$this->ldap_email_attr][0];
|
||||
OC_Preferences::setValue($uid, 'settings', 'email', $email);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue