去除锁屏二次验证
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
38f5b52938
commit
de313e9b52
32
src/main.js
32
src/main.js
|
@ -440,22 +440,22 @@ async function VueInit() {
|
||||||
done()
|
done()
|
||||||
}, 500)
|
}, 500)
|
||||||
}
|
}
|
||||||
if (eval(process.env.VUE_APP_LOCK_FOR_PERMISSION_MFA)) {
|
// if (eval(process.env.VUE_APP_LOCK_FOR_PERMISSION_MFA)) {
|
||||||
sendMFAEmail({ UserId: my_userid, MfaType: 1 }).then((res) => {
|
// sendMFAEmail({ UserId: my_userid, MfaType: 1 }).then((res) => {
|
||||||
done();
|
// done();
|
||||||
Vue.prototype.$MFA({
|
// Vue.prototype.$MFA({
|
||||||
status: "lock",
|
// status: "lock",
|
||||||
UserId: my_userid,
|
// UserId: my_userid,
|
||||||
EMail: res.Result,
|
// EMail: res.Result,
|
||||||
username: my_username,
|
// username: my_username,
|
||||||
callBack: () => {
|
// callBack: () => {
|
||||||
closeLock(_vm)
|
// closeLock(_vm)
|
||||||
},
|
// },
|
||||||
})
|
// })
|
||||||
})
|
// })
|
||||||
} else {
|
// } else {
|
||||||
closeLock(_vm)
|
closeLock(_vm)
|
||||||
}
|
// }
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// console.log(111)
|
// console.log(111)
|
||||||
|
|
Loading…
Reference in New Issue