summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-10-21 17:19:28 -0700
committerGitHub <noreply@github.com>2016-10-21 17:19:28 -0700
commit486d12e1c3a5d6658ca0ebd8fd28bec9f6753ce9 (patch)
tree1833ccb7c0ecfccf1400fa5c8153902d8c058fe0 /webapp/utils
parent38855327502420f06d1235d9ac34a66d0bcbca34 (diff)
downloadchat-486d12e1c3a5d6658ca0ebd8fd28bec9f6753ce9.tar.gz
chat-486d12e1c3a5d6658ca0ebd8fd28bec9f6753ce9.tar.bz2
chat-486d12e1c3a5d6658ca0ebd8fd28bec9f6753ce9.zip
PLT-4165 removing team name reserved words (#4289)
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx18
1 files changed, 4 insertions, 14 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index efc0d8482..663a8863c 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -331,23 +331,13 @@ export const Constants = {
SYSTEM_MESSAGE_PROFILE_NAME: 'System',
SYSTEM_MESSAGE_PROFILE_IMAGE: logoImage,
RESERVED_TEAM_NAMES: [
- 'www',
- 'web',
+ 'signup',
+ 'login',
'admin',
- 'support',
- 'notify',
- 'test',
- 'demo',
- 'mail',
- 'team',
'channel',
- 'internal',
- 'localhost',
- 'dockerhost',
- 'stag',
'post',
- 'cluster',
- 'api'
+ 'api',
+ 'oauth'
],
RESERVED_USERNAMES: [
'valet',