Merge pull request #390 from sharetribe/email-verification-url

Email verification url
This commit is contained in:
Boyan Tabakov 2017-09-11 16:04:20 +03:00 committed by GitHub
commit 5808a3fa4d
2 changed files with 3 additions and 3 deletions

View file

@ -82,7 +82,7 @@ describe('Application', () => {
'/account/contact-details': defaultAuthPath,
'/account/payout-preferences': defaultAuthPath,
'/account/security': defaultAuthPath,
'/email_verification': loginPath,
'/verify-email': loginPath,
};
forEach(urlRedirects, (redirectPath, url) => {
const context = {};

View file

@ -304,9 +304,9 @@ const routesConfiguration = [
// Do not change this path!
//
// The API expects that the Starter App implements /email_verification endpoint
// The API expects that the Starter App implements /verify-email endpoint
{
path: '/email_verification',
path: '/verify-email',
auth: true,
authPage: 'LoginPage',
exact: true,