This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch 4.20
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.20 by this push:
new a4b1a27c7d2 ui: fix 404 on login after forgot password (#12448)
a4b1a27c7d2 is described below
commit a4b1a27c7d2d93a1da698a7115900b3205c1077e
Author: Abhishek Kumar <[email protected]>
AuthorDate: Mon Jan 19 13:20:07 2026 +0530
ui: fix 404 on login after forgot password (#12448)
Signed-off-by: Abhishek Kumar <[email protected]>
---
ui/src/views/auth/ForgotPassword.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/views/auth/ForgotPassword.vue
b/ui/src/views/auth/ForgotPassword.vue
index 87f2d1d0c33..1e817e01a6e 100644
--- a/ui/src/views/auth/ForgotPassword.vue
+++ b/ui/src/views/auth/ForgotPassword.vue
@@ -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)