0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-01-30 22:37:01 +00:00
nextcloud_server/lib
Ferdinand Thiessen 7c2354ddb3
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-01-27 21:35:20 +01:00
..
composer fix: Move login via email logic to local backend 2025-01-27 21:35:20 +01:00
l10n Fix(l10n): Update translations from Transifex 2025-01-27 00:21:42 +00:00
private fix: Move login via email logic to local backend 2025-01-27 21:35:20 +01:00
public fix: Properly read updater channel before returning version channel as a fallback 2025-01-24 14:49:58 +01:00
unstable fix(lexicon): syntax 2025-01-14 10:38:15 -01:00
autoloader.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
base.php fix: Use the new countUsersTotal method where it makes sense 2025-01-14 12:38:02 +01:00
versioncheck.php feat(PHP): Allow PHP 8.4 2024-11-08 12:59:12 +01:00