PeerTube/server/core/lib/auth
kontrollanten a51fb3f35e
feat(API): permissive email check in login, reset & verification (#6648)
* feat(API): permissive email check in reset & verification

In order to not force users to be case sensitive when asking for
password reset or resend email verification. When there's multiple
emails where the only difference in the local is the capitalized
letters, in those cases the users has to be case sensitive.

closes #6570

* feat(API/login): permissive email handling

Allow case insensitive email when there's no other candidate.

closes #6570

* code review changes

* Fix tests

* Add more duplicate email checks

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-01-28 14:16:43 +01:00
..
external-auth.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
oauth-model.ts feat(API): permissive email check in login, reset & verification (#6648) 2025-01-28 14:16:43 +01:00
oauth.ts feat(API): permissive email check in login, reset & verification (#6648) 2025-01-28 14:16:43 +01:00
tokens-cache.ts server/server -> server/core 2023-10-04 15:13:25 +02:00