From f08d575a14c882f44c1bd7538b9f3734b6cb0fe7 Mon Sep 17 00:00:00 2001
From: =Corey Hulen <corey@hulen.com>
Date: Mon, 21 Dec 2015 14:36:12 -0800
Subject: Fixing signup

---
 web/react/components/signup_team.jsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'web/react/components/signup_team.jsx')

diff --git a/web/react/components/signup_team.jsx b/web/react/components/signup_team.jsx
index 0e05bc533..a554427d5 100644
--- a/web/react/components/signup_team.jsx
+++ b/web/react/components/signup_team.jsx
@@ -28,6 +28,8 @@ export default class TeamSignUp extends React.Component {
             this.state = {page: 'email'};
         } else if (global.window.mm_config.EnableSignUpWithGitLab === 'true') {
             this.state = {page: 'gitlab'};
+        } else {
+            this.state = {page: 'none'};
         }
     }
 
@@ -119,6 +121,8 @@ export default class TeamSignUp extends React.Component {
                     <SSOSignupPage service={Constants.GOOGLE_SERVICE} />
                 </div>
             );
+        } else if (this.state.page === 'none') {
+            return (<div>{'No team creation method has been enabled.  Please contact an administrator for access.'}</div>);
         }
     }
 }
-- 
cgit v1.2.3-1-g7c22

