From c517eb8f59084ba3130ef0ef960600787f35a269 Mon Sep 17 00:00:00 2001 From: Bai Date: Wed, 3 Jun 2020 12:53:32 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E4=BF=AE=E6=94=B9ProfileInfo=20MFA?= =?UTF-8?q?=20url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/userviews/users/UserProfile/ProfileInfo.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/userviews/users/UserProfile/ProfileInfo.vue b/src/userviews/users/UserProfile/ProfileInfo.vue index 7f652bc5f..b562de63c 100644 --- a/src/userviews/users/UserProfile/ProfileInfo.vue +++ b/src/userviews/users/UserProfile/ProfileInfo.vue @@ -40,10 +40,10 @@ export default { click: function() { if (this.object.mfa_enabled) { if (!this.object.mfa_force_enabled) { - window.location.href = `/core/users/profile/otp/disable/authentication/?next=${this.$route.fullPath}` + window.location.href = `/core/auth/profile/otp/disable/authentication/?next=${this.$route.fullPath}` } } else { - window.location.href = `/core/users/profile/otp/enable/start/?next=${this.$route.fullPath}` + window.location.href = `/core/auth/profile/otp/enable/start/?next=${this.$route.fullPath}` } }.bind(this) } @@ -56,7 +56,7 @@ export default { }, callbacks: { click: function() { - window.location.href = `/core/users/profile/otp/update/?next=${this.$route.fullPath}` + window.location.href = `/core/auth/profile/otp/update/?next=${this.$route.fullPath}` }.bind(this) } }, @@ -68,7 +68,7 @@ export default { }, callbacks: { click: function() { - window.open(`/core/users/profile/pubkey/generate/`, '_blank') + window.open(`/core/auth/profile/pubkey/generate/`, '_blank') } } }