summaryrefslogtreecommitdiffstats
path: root/web/react/pages/verify.jsx
blob: d4ce4844d776db3ea225e4da818fd02dcbc4667c (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.

import EmailVerify from '../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')
    );
};