aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/User/Manager.php
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2025-01-18 16:28:23 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2025-03-03 18:02:07 +0100
commit3c4feff028ab87b57a29e5771cde8ba6c5b7e4b0 (patch)
tree74b8e265ab200fa6f12fef49a0d17c9634e5f444 /lib/private/User/Manager.php
parent2582a55300ac83a806d79499c9bbe7db4e310aee (diff)
downloadnextcloud-server-fix/move-email-logic-local-user-backend.tar.gz
nextcloud-server-fix/move-email-logic-local-user-backend.zip
fix: Move login via email logic to local backendfix/move-email-logic-local-user-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>
Diffstat (limited to 'lib/private/User/Manager.php')
0 files changed, 0 insertions, 0 deletions