Merge pull request #33935 from nextcloud/revert-33920-backport/33813/stable24

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

View file

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