From 6b06f49e8910ed44f619adad15ab268758312852 Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Wed, 4 May 2016 05:11:31 -0700 Subject: PLT-2777 hide create account when not an open server (#2872) --- webapp/components/login/login.jsx | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/webapp/components/login/login.jsx b/webapp/components/login/login.jsx index 64ef72995..b093b3ec9 100644 --- a/webapp/components/login/login.jsx +++ b/webapp/components/login/login.jsx @@ -342,25 +342,28 @@ export default class Login extends React.Component { ); } - const userSignUp = ( -
- - - + var userSignUp; + if (global.window.mm_config.EnableOpenServer === 'true') { + userSignUp = ( +
+ - - -
- ); + + + +
+
+ ); + } let forgotPassword; if (usernameSigninEnabled || emailSigninEnabled) { -- cgit v1.2.3-1-g7c22