summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_signup_choose_auth.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-03-08 10:18:05 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2016-03-08 10:18:05 -0500
commit22470c2069eb21539540d19e80fd85394782c9a7 (patch)
tree3d8b6856fa93ed821ccae976666b41b79cd711eb /web/react/components/team_signup_choose_auth.jsx
parent8fc42cbeb6fc7c824b175e522b0039ee7167edf1 (diff)
parent777012eee42186316bc68b0ea1c8232601962bc4 (diff)
downloadchat-22470c2069eb21539540d19e80fd85394782c9a7.tar.gz
chat-22470c2069eb21539540d19e80fd85394782c9a7.tar.bz2
chat-22470c2069eb21539540d19e80fd85394782c9a7.zip
Merge pull request #2370 from mattermost/PLT-1830
PLT-1830 Adding ability to create team with ldap
Diffstat (limited to 'web/react/components/team_signup_choose_auth.jsx')
-rw-r--r--web/react/components/team_signup_choose_auth.jsx24
1 files changed, 24 insertions, 0 deletions
diff --git a/web/react/components/team_signup_choose_auth.jsx b/web/react/components/team_signup_choose_auth.jsx
index 8c98c5538..5db83fe7d 100644
--- a/web/react/components/team_signup_choose_auth.jsx
+++ b/web/react/components/team_signup_choose_auth.jsx
@@ -58,6 +58,30 @@ export default class ChooseAuthPage extends React.Component {
);
}
+ if (global.window.mm_config.EnableLdap === 'true') {
+ buttons.push(
+ <a
+ className='btn btn-custom-login ldap btn-full'
+ key='ldap'
+ href='#'
+ onClick={
+ (e) => {
+ e.preventDefault();
+ this.props.updatePage('ldap');
+ }
+ }
+ >
+ <span className='icon'/>
+ <span>
+ <FormattedMessage
+ id='choose_auth_page.ldapCreate'
+ defaultMessage='Create new team with LDAP Account'
+ />
+ </span>
+ </a>
+ );
+ }
+
if (global.window.mm_config.EnableSignUpWithEmail === 'true') {
buttons.push(
<a