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

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

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