a corrected email attribute needs to be saved, not only returned

This commit is contained in:
Arthur Schiwon 2014-10-29 10:27:17 +01:00
parent f9b4f5f4e5
commit 4a3fe42b16

View file

@ -233,7 +233,7 @@ class Wizard extends LDAPUtility {
}
if($winner !== '') {
$this->result->addChange('ldap_email_attr', $winner);
$this->applyFind('ldap_email_attr', $winner);
if($writeLog) {
\OCP\Util::writeLog('user_ldap', 'The mail attribute has ' .
'automatically been reset, because the original value ' .