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

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

function setupLoginPage(teamDisplayName, teamName, authServices) {
    React.render(
        <Login
            teamDisplayName={teamDisplayName}
            teamName={teamName}
            authServices={authServices} />,
        document.getElementById('login')
    );
}

global.window.setup_login_page = setupLoginPage;