Skip to content

Commit a4b1a27

Browse files
authored
ui: fix 404 on login after forgot password (#12448)
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 76e6de7 commit a4b1a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/auth/ForgotPassword.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export default {
162162
api('forgotPassword', {}, 'POST', loginParams)
163163
.finally(() => {
164164
this.$message.success(this.$t('message.forgot.password.success'))
165-
this.$router.push({ path: '/login' }).catch(() => {})
165+
this.$router.replace({ path: '/user/login' })
166166
})
167167
}).catch(error => {
168168
this.formRef.value.scrollToField(error.errorFields[0].name)

0 commit comments

Comments
 (0)