diff options
author | =Corey Hulen <corey@hulen.com> | 2016-03-07 14:59:15 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-03-07 14:59:15 -0800 |
commit | 777012eee42186316bc68b0ea1c8232601962bc4 (patch) | |
tree | 9eae93ee873762038667a3be93001bea4612e195 /web/react/components/team_signup_choose_auth.jsx | |
parent | 0387ac799792fdd0684b863bb029813bbb3eccf7 (diff) | |
download | chat-777012eee42186316bc68b0ea1c8232601962bc4.tar.gz chat-777012eee42186316bc68b0ea1c8232601962bc4.tar.bz2 chat-777012eee42186316bc68b0ea1c8232601962bc4.zip |
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.jsx | 24 |
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 |