mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Merge pull request #33813 from nextcloud/fix/infinite_email_change_notification
Compare lowercase email when updating from ldap
This commit is contained in:
commit
1f967175f3
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ class User implements IUser {
|
|||
$this->setPrimaryEMailAddress('');
|
||||
}
|
||||
|
||||
if ($oldMailAddress !== $mailAddress) {
|
||||
if ($oldMailAddress !== strtolower($mailAddress)) {
|
||||
$this->triggerChange('eMailAddress', $mailAddress, $oldMailAddress);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue