mirror of
https://codeberg.org/forgejo-aneksajo/forgejo-aneksajo.git
synced 2025-07-21 08:00:05 +02:00
![]() **Backport:** https://codeberg.org/forgejo/forgejo/pulls/7817 When using an oauth provider for login, we can't always make sure that only supported characters are included in the name. Therefore there exist normalization rules for the username. In German some names contain the `ß` letter which usually gets replaces by `ss`. Therfore I added this to the `customCharsReplacement` list. Without this fix, the user get's un undescriptive internal server error and the log states `CreateUser: name is invalid [<name>]: must be valid alpha or numeric or dash(-_) or dot characters`. Co-authored-by: Daniel Kilimnik <daniel@neodyme.io> Co-authored-by: Otto <otto@codeberg.org> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7821 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org> Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org> |
||
---|---|---|
.. | ||
fixtures | ||
avatar.go | ||
avatar_test.go | ||
badge.go | ||
block.go | ||
block_test.go | ||
email_address.go | ||
email_address_test.go | ||
error.go | ||
external_login_user.go | ||
federated_user.go | ||
federated_user_test.go | ||
follow.go | ||
follow_test.go | ||
list.go | ||
main_test.go | ||
must_change_password.go | ||
openid.go | ||
openid_test.go | ||
redirect.go | ||
redirect_test.go | ||
search.go | ||
setting.go | ||
setting_keys.go | ||
setting_test.go | ||
user.go | ||
user_repository.go | ||
user_system.go | ||
user_test.go | ||
user_update.go |