mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #35946 from nextcloud/backport/33813/stable24
[stable24] Compare lowercase email when updating from ldap
This commit is contained in:
commit
617088835f
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,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