From e81fa3220de51350592e50b2fa3e0dc9425d43f8 Mon Sep 17 00:00:00 2001
From: David Lu <david.lu@hotmail.com>
Date: Fri, 20 May 2016 14:47:10 -0400
Subject: Added validation for command triggers (#3068)

---
 webapp/utils/constants.jsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'webapp/utils/constants.jsx')

diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index be858c554..0bbb0c9c2 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -644,6 +644,8 @@ export default {
     MAX_USERNAME_LENGTH: 22,
     MIN_PASSWORD_LENGTH: 5,
     MAX_PASSWORD_LENGTH: 50,
+    MIN_TRIGGER_LENGTH: 1,
+    MAX_TRIGGER_LENGTH: 128,
     TIME_SINCE_UPDATE_INTERVAL: 30000,
     MIN_HASHTAG_LINK_LENGTH: 3,
     EMOJI_PATH: '/static/emoji',
-- 
cgit v1.2.3-1-g7c22

