summaryrefslogtreecommitdiffstats
path: root/web/react/pages/password_reset.jsx
blob: 6d0d88a10e7e7afc483f7e2a0a1a3fb4c0d08b43 (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_name, domain, hash, data) {

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

};