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

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

function setupPasswordResetPage(props) {
    ReactDOM.render(
        <PasswordReset
            isReset={props.IsReset}
            teamDisplayName={props.TeamDisplayName}
            teamName={props.TeamName}
            hash={props.Hash}
            data={props.Data}
        />,
        document.getElementById('reset')
    );
}

global.window.setup_password_reset_page = setupPasswordResetPage;