Merge pull request #33936 from nextcloud/revert-33922-backport/33813/stable23

Revert "[stable23] Compare lowercase email when updating from ldap"
This commit is contained in:
blizzz 2022-09-07 18:12:37 +02:00 committed by GitHub
commit 6f665743fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,7 +193,7 @@ class User implements IUser {
$this->setPrimaryEMailAddress('');
}
if ($oldMailAddress !== strtolower($mailAddress)) {
if ($oldMailAddress !== $mailAddress) {
$this->triggerChange('eMailAddress', $mailAddress, $oldMailAddress);
}
}