diff --git a/src/views/profile/ProfileInfo.vue b/src/views/profile/ProfileInfo.vue index 905c0509d..e1c3e8491 100644 --- a/src/views/profile/ProfileInfo.vue +++ b/src/views/profile/ProfileInfo.vue @@ -287,6 +287,9 @@ export default { ] }, confirmUrl() { + return '/api/v1/authentication/confirm-oauth/' + }, + bindOrUNBindUrl() { let url = '' if (!this.object[`is_${this.currentEdit}_bound`]) { url = `/core/auth/${this.currentEdit}/qr/bind/?redirect_url=${this.$route.fullPath}` @@ -319,7 +322,7 @@ export default { return backendList }, verifyDone() { - const url = this.confirmUrl + const url = this.bindOrUNBindUrl if (!this.object[`is_${this.currentEdit}_bound`]) { window.location.href = url } else {