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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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