jojo/routers/web
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
..
admin fix: paginate GET /api/v1/admin/hooks response (#9915) 2025-11-06 00:08:13 +01:00
auth fix: do casefolding in OAuth2 account autolinking (#10072) 2025-11-16 16:39:06 +01:00
devtest chore(ui): clean up hashbox CSS, small design changes (#7822) 2025-05-25 12:51:27 +02:00
events chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
explore fix(code-search): fix broken pagination. (#9000) 2025-08-23 13:06:41 +02:00
feed chore: Remove IsDeleted from action (activity) table (#9829) 2025-11-08 04:20:05 +01:00
healthcheck chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
misc feat: bump the minimum required Git version from 2.0.0 to 2.34.1 (#8328) 2025-06-29 00:44:18 +02:00
moderation feat!: Abusive content reporting (#6977) 2025-05-18 08:05:16 +00:00
org feat: migrate add/remove repositories in team to native dialog (#9877) 2025-10-28 14:29:34 +01:00
repo chore: unify the usage of CryptoRandomString (#10110) 2025-11-15 13:24:53 +01:00
shared fix!: prevent forked .profile repositories from displaying profile content (#9513) 2025-10-07 18:53:57 +02:00
user chore: Remove IsDeleted from action (activity) table (#9829) 2025-11-08 04:20:05 +01:00
base.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
githttp.go feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
goget.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
home.go feat: Global 2FA enforcement (#8753) 2025-08-15 10:56:45 +02:00
metrics.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
nodeinfo.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
swagger_json.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
web.go chore(test): cleanup NewRequest which no longer supply CSRF values (#10119) 2025-11-14 23:21:10 +01:00
webfinger.go fix: trim trailing slash in WebFinger OIDC issuer link (#8794) 2025-08-06 14:50:51 +02:00