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

var PasswordReset = require('../components/password_reset.jsx');

global.window.setup_password_reset_page = function(is_reset, team_display_name, team_name, hash, data) {

    React.render(
        <PasswordReset
            isReset={is_reset}
            teamDisplayName={team_display_name}
            teamName={team_name}
            hash={hash}
            data={data}
        />,
        document.getElementById('reset')
    );

};