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

import Login from '../components/login.jsx';

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

global.window.setup_login_page = setupLoginPage;