nextcloud/lib
Louis Chemineau 7ea5b39e89 I dug into it again, and the issue is much simpler than I previously though.
- LDAP has an email address with capital letters
- NC store this address in lower case
- When the user logs in, we compare the [stored email with the new lower case email](https://github.com/nextcloud/server/blob/master/lib/private/AllConfig.php#L259-L261) before storing it. Here, both email will be the same, so we won't store the new email address with upper case letters. Which is what we want.
- We then [compare emails as they are before triggering an event](https://github.com/nextcloud/server/blob/master/lib/private/User/User.php#L202-L204), they won't match, so the user will receive an email signaling an email change every time he logs in.

The fix is to compare the old email with the new lower case email before sending the event.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-09-06 15:19:52 +00:00
..
composer Add back TokenCleanupJob to invalidate old temporary tokens 2022-08-25 12:05:18 +00:00
l10n [tx-robot] updated from transifex 2022-09-06 02:25:13 +00:00
private I dug into it again, and the issue is much simpler than I previously though. 2022-09-06 15:19:52 +00:00
public Multiple fixes 2022-08-03 13:24:38 +02:00
autoloader.php Add a built-in profiler inside Nextcloud 2022-04-04 10:28:26 +02:00
base.php Fix suggestions by @artonage 2022-08-22 21:36:31 +00:00
versioncheck.php Drop PHP7.3 2022-01-25 17:25:08 +01:00