Change password recovery url to recover-password

This commit is contained in:
Hannu Lyytikainen 2017-09-13 09:30:30 +03:00
parent 00803945a5
commit 237e1d208a
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ describe('Application', () => {
'/u/1234': 'Profile page with display name: 1234',
'/login': 'Login',
'/signup': 'Sign up',
'/recover_password': 'Request new password',
'/recover-password': 'Request new password',
'/this-url-should-not-be-found': 'Page not found',
'/reset-password?t=token&e=email': 'Reset password',
};

View file

@ -46,7 +46,7 @@ exports[`LoginForm matches snapshot 1`] = `
className={undefined}>
<a
className=""
href="/recover_password"
href="/recover-password"
onClick={[Function]}
style={Object {}}
title={null}>

View file

@ -145,7 +145,7 @@ const routesConfiguration = [
component: props => <AuthenticationPage {...props} tab="signup" />,
},
{
path: '/recover_password',
path: '/recover-password',
exact: true,
name: 'PasswordRecoveryPage',
component: props => <PasswordRecoveryPage {...props} />,