summaryrefslogtreecommitdiffstats
path: root/web/react/pages/login.jsx
blob: 430de980c223042921c0a80ac241d7c06dedfa87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

var Login = require('../components/login.jsx');

function setupLoginPage(props) {
    ReactDOM.render(
        <Login
            teamDisplayName={props.TeamDisplayName}
            teamName={props.TeamName}
        />,
        document.getElementById('login')
    );
}

global.window.setup_login_page = setupLoginPage;