diff --git a/src/components/settings_modal/tabs/security_tab/mfa.js b/src/components/settings_modal/tabs/security_tab/mfa.js index b5c68120b..20c28419d 100644 --- a/src/components/settings_modal/tabs/security_tab/mfa.js +++ b/src/components/settings_modal/tabs/security_tab/mfa.js @@ -134,11 +134,13 @@ const Mfa = { token: this.otpConfirmToken, password: this.currentPassword, credentials: useOAuthStore().token, - }).then((res) => { - this.completeSetup() - }).catch((error) => { - this.error = error }) + .then(() => { + this.completeSetup() + }) + .catch((error) => { + this.error = error + }) }, completeSetup() {