0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-07 01:50:38 +00:00
nextcloud_server/tests
Ferdinand Thiessen 2cf36e42b9
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-02-04 18:22:10 +01:00
..
apps chore: Add SPDX header 2024-05-13 17:41:36 +02:00
blueprints chore: Add SPDX header 2024-05-13 17:41:36 +02:00
Core fix(lexicon): syntax 2025-01-14 10:38:15 -01:00
data feat(ocp): add calendar api to retrieve availability of attendees 2025-01-13 10:12:31 +01:00
docker chore: Add SPDX header 2024-05-13 17:41:36 +02:00
lib fix: Move login via email logic to local backend 2025-02-04 18:22:10 +01:00
objectstore chore: Add SPDX header 2024-05-22 19:58:12 +02:00
apps.php fix(tests): Fix test selection and run unit tests of DAV and user_status 2024-09-19 17:44:45 +02:00
bootstrap.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
drone-run-integration-tests.sh chore: Add SPDX header 2024-05-13 17:41:36 +02:00
drone-run-php-tests.sh chore: Add SPDX header 2024-05-13 17:41:36 +02:00
drone-wait-objectstore.sh chore: Add SPDX header 2024-05-13 17:41:36 +02:00
enable_all.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
karma.config.js fix(code-style): Adjust JS code to our code style 2024-10-16 22:11:59 +02:00
phpunit-autotest-external.xml chore: Add SPDX header 2024-05-13 17:41:36 +02:00
phpunit-autotest.xml chore: ignore vendor-bin for coverage 2024-12-16 15:47:17 +01:00
preseed-config.php test: re-add object store primary storage phpunit tests 2024-09-27 14:45:39 +02:00
redis-cluster.config.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
redis.config.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
startsessionlistener.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00