fix: Fix route name to get better format
Change route from `auth/changepassword` to `auth/change-password` Change-Id: I5daff7da387be212d380d0d7b844086c912f005e
This commit is contained in:
parent
c960f06c1a
commit
bec7b84845
@ -221,7 +221,7 @@ export default class Login extends Component {
|
||||
userId,
|
||||
};
|
||||
this.rootStore.setPasswordInfo(data);
|
||||
this.rootStore.routing.push('/auth/changepassword');
|
||||
this.rootStore.routing.push('/auth/change-password');
|
||||
} else {
|
||||
this.setState({
|
||||
error: true,
|
||||
|
@ -24,7 +24,7 @@ export default [
|
||||
routes: [
|
||||
{ path: `${PATH}/login`, component: Login, exact: true },
|
||||
{
|
||||
path: `${PATH}/changepassword`,
|
||||
path: `${PATH}/change-password`,
|
||||
component: ChangePassword,
|
||||
exact: true,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user