nextcloud/lib/private/User
Ferdinand Thiessen 3c4feff028
fix: Move login via email logic to local backend
Backends can decide which names they accept for login,
e.g. with user_ldap you can configure arbitrary login fields.
This was a hacky approach to allow login via email,
so instead this is now only handled by the local user backend.

This also fixes some other related problems:
Other logic relys on `backend::get()` which was not handling email,
so e.g. password policy could not block users logged in via email
if they use out-dated passwords.
Similar for other integrations, as the user backend was not consistent with
what is a login name and what not.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 18:02:07 +01:00
..
BackgroundJobs fix(BackgroundJobs): Adjust intervals and time sensitivities 2024-10-08 11:26:53 +02:00
Listeners chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AvailabilityCoordinator.php Feat: Allow users to select another user as their out-of-office replacement 2024-07-01 15:10:16 +02:00
Backend.php fix: Make user removal more resilient 2024-09-26 20:48:37 +02:00
Database.php fix: Move login via email logic to local backend 2025-03-03 18:02:07 +01:00
DisplayNameCache.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
LazyUser.php feat: Add first login timestamp of each user to oc_preferences and user:info output 2025-01-07 16:29:50 +01:00
LoginException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Manager.php fix: Fix a small typing problem is user manager 2025-01-14 17:21:40 +01:00
NoUserException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OutOfOfficeData.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
PartiallyDeletedUsersBackend.php fix: Skip users that still exist in backend 2024-09-26 20:48:45 +02:00
Session.php chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixer 2024-10-19 07:57:35 +02:00
User.php feat(users): Use -1 for unknown firstLogin instead of setting it to current date 2025-01-07 16:30:22 +01:00