diff --git a/src/components/Apps/UserConfirmDialog/index.vue b/src/components/Apps/UserConfirmDialog/index.vue index 2116defbe..54fcaec71 100644 --- a/src/components/Apps/UserConfirmDialog/index.vue +++ b/src/components/Apps/UserConfirmDialog/index.vue @@ -67,13 +67,13 @@ style="width: 100%; height: 800px;border: none;" /> - + {{ smsBtnText }} @@ -204,8 +204,8 @@ export default { logout() { window.location.href = `${process.env.VUE_APP_LOGOUT_PATH}?next=${this.$route.fullPath}` }, - sendSMSCode() { - this.$axios.post(`/api/v1/authentication/mfa/select/`, { type: 'sms' }).then(res => { + sendCode() { + this.$axios.post(`/api/v1/authentication/mfa/select/`, { type: this.subTypeSelected }).then(res => { this.$message.success(this.$tc('VerificationCodeSent')) let time = 60 this.smsBtnDisabled = true