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

var EmailVerify = require('../components/email_verify.jsx');

global.window.setupVerifyPage = function setupVerifyPage(props) {
    ReactDOM.render(
        <EmailVerify
            isVerified={props.IsVerified}
            teamURL={props.TeamURL}
            userEmail={props.UserEmail}
            resendSuccess={props.ResendSuccess}
        />,
        document.getElementById('verify')
    );
};