// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. export default class ChooseAuthPage extends React.Component { constructor(props) { super(props); this.state = {}; } render() { var buttons = []; if (global.window.mm_config.EnableSignUpWithGitLab === 'true') { buttons.push( {'Create new team with GitLab Account'} ); } if (global.window.mm_config.EnableSignUpWithEmail === 'true') { buttons.push( {'Create new team with email address'} ); } if (buttons.length === 0) { buttons = {'No sign-up methods configured, please contact your system administrator.'}; } return (