mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Require auth on Checkout page
This commit is contained in:
parent
d0581861c4
commit
536f4335e3
2 changed files with 2 additions and 1 deletions
|
|
@ -41,7 +41,6 @@ describe('Application', () => {
|
|||
'/s/map': 'Search page: map',
|
||||
'/l/listing-title-slug/1234': 'Loading listing data',
|
||||
'/u/1234': 'Profile page with display name: 1234',
|
||||
'/checkout': 'Book Example listing',
|
||||
'/login': 'Authentication page: login tab',
|
||||
'/signup': 'Authentication page: signup tab',
|
||||
'/password': 'Request new password',
|
||||
|
|
@ -65,6 +64,7 @@ describe('Application', () => {
|
|||
'/l/new': '/login',
|
||||
'/l/listing-title-slug/1234/edit': '/login',
|
||||
'/u/1234/edit': '/login',
|
||||
'/checkout': '/login',
|
||||
'/orders': '/login',
|
||||
'/sales': '/login',
|
||||
'/order/1234': '/login',
|
||||
|
|
|
|||
|
|
@ -117,6 +117,7 @@ const routesConfiguration = [
|
|||
},
|
||||
{
|
||||
path: '/checkout',
|
||||
auth: true,
|
||||
exact: true,
|
||||
name: 'CheckoutPage',
|
||||
component: props => <CheckoutPage {...props} />,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue