diff --git a/web/kubepi/src/business/login/index.vue b/web/kubepi/src/business/login/index.vue index 67af31015..eededee25 100644 --- a/web/kubepi/src/business/login/index.vue +++ b/web/kubepi/src/business/login/index.vue @@ -191,9 +191,9 @@ export default { this.mfaCredential.secret = this.otp.secret this.mfaCredential.userName = this.form.username bind(this.mfaCredential).then(() => { - this.$router.push({ path: "/" }) + this.mfaPage = false + location.reload() }).finally(() => { - // this.$router.push({ path: "/" }) }) }, mfaLogin() {