PasswordChangePage

This commit is contained in:
Vesa Luusua 2017-01-11 01:51:33 +02:00
parent 3e772291f2
commit c4b139553a
3 changed files with 16 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import {
LandingPage,
ListingPage,
OrderPage,
PasswordChangePage,
PasswordForgottenPage,
ProfilePage,
EditProfilePage,
@ -98,6 +99,12 @@ class Routes extends React.Component {
pattern="/password/forgotten"
component={ PasswordForgottenPage } />
{/* Change password */}
<Match
exactly
pattern="/password/change"
component={ PasswordChangePage } />
{/* Inbox and filtered views */}
<MatchWhenAuthorized
exactly

View file

@ -0,0 +1,7 @@
import React from 'react';
import { Page } from '../../components';
export default () => (
<Page title="Type new password">
</Page>
);

View file

@ -6,6 +6,7 @@ import InboxPage from './InboxPage/InboxPage';
import LandingPage from './LandingPage/LandingPage';
import ListingPage from './ListingPage/ListingPage';
import OrderPage from './OrderPage/OrderPage';
import PasswordChangePage from './PasswordChangePage/PasswordChangePage';
import PasswordForgottenPage from './PasswordForgottenPage/PasswordForgottenPage';
import ProfilePage from './ProfilePage/ProfilePage';
import SalesConversationPage from './SalesConversationPage/SalesConversationPage';
@ -21,6 +22,7 @@ export {
LandingPage,
ListingPage,
OrderPage,
PasswordChangePage,
PasswordForgottenPage,
ProfilePage,
SalesConversationPage,