mirror of https://github.com/apache/cloudstack.git
ui: fix 404 on login after forgot password (#12448)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
76e6de7f90
commit
a4b1a27c7d
|
|
@ -162,7 +162,7 @@ export default {
|
|||
api('forgotPassword', {}, 'POST', loginParams)
|
||||
.finally(() => {
|
||||
this.$message.success(this.$t('message.forgot.password.success'))
|
||||
this.$router.push({ path: '/login' }).catch(() => {})
|
||||
this.$router.replace({ path: '/user/login' })
|
||||
})
|
||||
}).catch(error => {
|
||||
this.formRef.value.scrollToField(error.errorFields[0].name)
|
||||
|
|
|
|||
Loading…
Reference in New Issue