Compare commits
2 Commits
7d37fdc3c0
...
183723370a
| Author | SHA1 | Date |
|---|---|---|
|
|
183723370a | |
|
|
b2dc406a72 |
|
|
@ -153,7 +153,13 @@ export default {
|
||||||
clearInterval(this.timer);
|
clearInterval(this.timer);
|
||||||
this.timer = null;
|
this.timer = null;
|
||||||
}
|
}
|
||||||
let res = await sendMFAEmail(this.form);
|
let data = {
|
||||||
|
UserId: this.form.UserId,
|
||||||
|
};
|
||||||
|
if (this.status === "lock") {
|
||||||
|
data.MfaType = 1;
|
||||||
|
}
|
||||||
|
let res = await sendMFAEmail(data);
|
||||||
this.sendFlag = false;
|
this.sendFlag = false;
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.flag = true;
|
this.flag = true;
|
||||||
|
|
|
||||||
|
|
@ -432,7 +432,7 @@ async function VueInit() {
|
||||||
}, 500)
|
}, 500)
|
||||||
}
|
}
|
||||||
if (process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa') {
|
if (process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa') {
|
||||||
sendMFAEmail({ UserId: my_userid }).then((res) => {
|
sendMFAEmail({ UserId: my_userid, MfaType: 1 }).then((res) => {
|
||||||
done();
|
done();
|
||||||
Vue.prototype.$MFA({
|
Vue.prototype.$MFA({
|
||||||
status: "lock",
|
status: "lock",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue