diff --git a/src/pages/auth/containers/Login/index.jsx b/src/pages/auth/containers/Login/index.jsx index bf502d00..f318428e 100644 --- a/src/pages/auth/containers/Login/index.jsx +++ b/src/pages/auth/containers/Login/index.jsx @@ -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, diff --git a/src/pages/auth/routes/index.js b/src/pages/auth/routes/index.js index 13d52b2d..ad2150f6 100644 --- a/src/pages/auth/routes/index.js +++ b/src/pages/auth/routes/index.js @@ -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, },