summaryrefslogtreecommitdiffstats
path: root/web/react/pages/login.jsx
blob: 6e75283737985bb1be1c4dd2e074d2e17fdbd470 (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(team_display_name, team_name, auth_services) {
    React.render(
        <Login teamDisplayName={team_display_name} teamName={team_name} authServices={auth_services} />,
        document.getElementById('login')
    );
};