DEV: Reserve usernames for chat and sunset chat_group_mention (#16200)

This commit is contained in:
Mark VanLandingham
2022-03-16 08:55:21 -05:00
committed by GitHub
parent a0f4c7fe88
commit cea0b9cefb
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ class Notification < ActiveRecord::Base
chat_mention: 29, chat_mention: 29,
chat_message: 30, chat_message: 30,
chat_invitation: 31, 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 chat_quoted: 33
) )
end end

View File

@ -554,7 +554,7 @@ users:
reserved_usernames: reserved_usernames:
type: list type: list
list_type: compact 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: min_password_length:
client: true client: true
default: 10 default: 10