mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 13:13:39 +08:00
DEV: Reserve usernames for chat and sunset chat_group_mention
(#16200)
This commit is contained in:
parent
a0f4c7fe88
commit
cea0b9cefb
|
@ -109,7 +109,7 @@ class Notification < ActiveRecord::Base
|
|||
chat_mention: 29,
|
||||
chat_message: 30,
|
||||
chat_invitation: 31,
|
||||
chat_group_mention: 32,
|
||||
chat_group_mention: 32, # March 2022 - This is obsolete, as all chat_mentions use `chat_mention` type
|
||||
chat_quoted: 33
|
||||
)
|
||||
end
|
||||
|
|
|
@ -554,7 +554,7 @@ users:
|
|||
reserved_usernames:
|
||||
type: list
|
||||
list_type: compact
|
||||
default: "admin|moderator|administrator|mod|sys|system|community|info|you|name|username|user|nickname|discourse|discourseorg|discourseforum|support"
|
||||
default: "admin|moderator|administrator|mod|sys|system|community|info|you|name|username|user|nickname|discourse|discourseorg|discourseforum|support|all|here"
|
||||
min_password_length:
|
||||
client: true
|
||||
default: 10
|
||||
|
|
Loading…
Reference in New Issue
Block a user