mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #33922 from nextcloud/backport/33813/stable23
[stable23] Compare lowercase email when updating from ldap
This commit is contained in:
commit
2e41435795
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,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