jojo/routers
RaymondKroon 81f20a69b6 fix: do casefolding in OAuth2 account autolinking (#10072)
Resolves #9992.

Creating new users will make sure to avoid creating duplicate users where the only difference is a casing. Error handling did not handle this correctly, resulting in 500. This is fixed by searching for LowerName in the error handling.

Co-authored-by: Raymond Kroon <raymond.kroon@kadaster.nl>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10072
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: RaymondKroon <raymondkroon@noreply.codeberg.org>
Co-committed-by: RaymondKroon <raymondkroon@noreply.codeberg.org>
2025-11-16 16:39:06 +01:00
..
api chore: unify the usage of CryptoRandomString (#10110) 2025-11-15 13:24:53 +01:00
common chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
install chore: unify the usage of CryptoRandomString (#10110) 2025-11-15 13:24:53 +01:00
private chore: remove branding from context imports (#9628) 2025-10-11 01:52:51 +02:00
utils [PORT] drop utils.IsExternalURL (and expand IsRiskyRedirectURL tests) (#3167) 2024-04-15 13:03:08 +00:00
web fix: do casefolding in OAuth2 account autolinking (#10072) 2025-11-16 16:39:06 +01:00
init.go feat: ensure only expected ssh public keys are in authorized_keys file (#10010) 2025-11-09 01:06:04 +01:00