summaryrefslogtreecommitdiffstats
path: root/web/react/pages/password_reset.jsx
blob: 2ca468bea2da41aec9ae6b62dd2b9a1b7a93f673 (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');

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

global.window.setup_password_reset_page = setupPasswordResetPage;