Add: PasswordResetPage (the real one)
This commit is contained in:
parent
47f600e797
commit
fdcfd3b6fc
4 changed files with 18 additions and 0 deletions
|
@ -31,6 +31,7 @@ import ListBlockedPage from 'page/listBlocked';
|
|||
import FourOhFourPage from 'page/fourOhFour';
|
||||
import SignInPage from 'page/signIn';
|
||||
import SignUpPage from 'page/signUp';
|
||||
import PasswordResetPage from 'page/passwordReset';
|
||||
import PasswordSetPage from 'page/passwordSet';
|
||||
import SignInVerifyPage from 'page/signInVerify';
|
||||
import ChannelsPage from 'page/channels';
|
||||
|
@ -162,6 +163,7 @@ function AppRouter(props: Props) {
|
|||
<Route path={`/`} exact component={HomePage} />
|
||||
<Route path={`/$/${PAGES.DISCOVER}`} exact component={DiscoverPage} />
|
||||
<Route path={`/$/${PAGES.AUTH_SIGNIN}`} exact component={SignInPage} />
|
||||
<Route path={`/$/${PAGES.AUTH_PASSWORD_RESET}`} exact component={PasswordResetPage} />
|
||||
<Route path={`/$/${PAGES.AUTH_PASSWORD_SET}`} exact component={PasswordSetPage} />
|
||||
<Route path={`/$/${PAGES.AUTH}`} exact component={SignUpPage} />
|
||||
<Route path={`/$/${PAGES.AUTH}/*`} exact component={SignUpPage} />
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
exports.AUTH = 'signup';
|
||||
exports.AUTH_SIGNIN = 'signin';
|
||||
exports.AUTH_VERIFY = 'verify';
|
||||
exports.AUTH_PASSWORD_RESET = 'reset';
|
||||
exports.AUTH_PASSWORD_SET = 'set';
|
||||
exports.BACKUP = 'backup';
|
||||
exports.CHANNEL = 'channel';
|
||||
|
|
3
ui/page/passwordReset/index.js
Normal file
3
ui/page/passwordReset/index.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
import PasswordResetPage from './view';
|
||||
|
||||
export default PasswordResetPage;
|
12
ui/page/passwordReset/view.jsx
Normal file
12
ui/page/passwordReset/view.jsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
// @flow
|
||||
import React from 'react';
|
||||
import UserPasswordReset from 'component/userPasswordReset';
|
||||
import Page from 'component/page';
|
||||
|
||||
export default function PasswordResetPage() {
|
||||
return (
|
||||
<Page authPage className="main--auth-page">
|
||||
<UserPasswordReset />
|
||||
</Page>
|
||||
);
|
||||
}
|
Loading…
Reference in a new issue