mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:19:27 +08:00
FEATURE: Add locale defaults for Unicode username whitelist
This commit is contained in:
parent
65b0cafc03
commit
b26c76e749
|
@ -463,7 +463,13 @@ users:
|
|||
validator: "UnicodeUsernameWhitelistValidator"
|
||||
default: ""
|
||||
locale_default:
|
||||
cs: "[ěščřžýáíéóůúďťňĚŠČŘŽÝÁÍÉÓŮÚĎŤŇ]"
|
||||
de: "[äöüßÄÖÜẞ]"
|
||||
fi: "[åäöÅÄÖ]"
|
||||
ja: '[\p{Han}\p{Katakana}\p{Hiragana}]'
|
||||
ko: '\p{Hangul}'
|
||||
zh_CN: '\p{Han}'
|
||||
zh_TW: '\p{Han}'
|
||||
reserved_usernames:
|
||||
type: list
|
||||
list_type: compact
|
||||
|
|
Loading…
Reference in New Issue
Block a user