mirror of
https://github.com/nextcloud/server.git
synced 2026-02-25 19:04:38 -05:00
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> |
||
|---|---|---|
| .. | ||
| BackgroundJobs | ||
| Listeners | ||
| AvailabilityCoordinator.php | ||
| Backend.php | ||
| Database.php | ||
| DisplayNameCache.php | ||
| LazyUser.php | ||
| LoginException.php | ||
| Manager.php | ||
| NoUserException.php | ||
| OutOfOfficeData.php | ||
| PartiallyDeletedUsersBackend.php | ||
| Session.php | ||
| User.php | ||