mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Normalize oauth email username (#28561)
This commit is contained in:
@@ -1529,6 +1529,10 @@ LEVEL = Info
|
||||
;; userid = use the userid / sub attribute
|
||||
;; nickname = use the nickname attribute
|
||||
;; email = use the username part of the email attribute
|
||||
;; Note: `nickname` and `email` options will normalize input strings using the following criteria:
|
||||
;; - diacritics are removed
|
||||
;; - the characters in the set `['´\x60]` are removed
|
||||
;; - the characters in the set `[\s~+]` are replaced with `-`
|
||||
;USERNAME = nickname
|
||||
;;
|
||||
;; Update avatar if available from oauth2 provider.
|
||||
|
Reference in New Issue
Block a user