diff --git a/ui/component/router/view.jsx b/ui/component/router/view.jsx index 2f21b8e5a..520c77954 100644 --- a/ui/component/router/view.jsx +++ b/ui/component/router/view.jsx @@ -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) { + diff --git a/ui/constants/pages.js b/ui/constants/pages.js index bcdbc498a..3f68188d4 100644 --- a/ui/constants/pages.js +++ b/ui/constants/pages.js @@ -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'; diff --git a/ui/page/passwordReset/index.js b/ui/page/passwordReset/index.js new file mode 100644 index 000000000..e3cf8568c --- /dev/null +++ b/ui/page/passwordReset/index.js @@ -0,0 +1,3 @@ +import PasswordResetPage from './view'; + +export default PasswordResetPage; diff --git a/ui/page/passwordReset/view.jsx b/ui/page/passwordReset/view.jsx new file mode 100644 index 000000000..3fe6f33e5 --- /dev/null +++ b/ui/page/passwordReset/view.jsx @@ -0,0 +1,12 @@ +// @flow +import React from 'react'; +import UserPasswordReset from 'component/userPasswordReset'; +import Page from 'component/page'; + +export default function PasswordResetPage() { + return ( + + + + ); +}