This commit is contained in:
pypy
2020-01-13 22:13:28 +09:00
parent abe28878e4
commit ebcf715a35
+2 -6
View File
@@ -3207,9 +3207,7 @@ CefSharp.BindObjectAsync(
API.verifyTOTP({ API.verifyTOTP({
code: instance.inputValue code: instance.inputValue
}).catch((err) => { }).catch((err) => {
if (err.status_code === 400) { this.promptTOTP();
this.promptTOTP();
}
throw err; throw err;
}).then((args) => { }).then((args) => {
API.getCurrentUser(); API.getCurrentUser();
@@ -3235,9 +3233,7 @@ CefSharp.BindObjectAsync(
API.verifyOTP({ API.verifyOTP({
code: instance.inputValue code: instance.inputValue
}).catch((err) => { }).catch((err) => {
if (err.status_code === 400) { this.promptOTP();
this.promptOTP();
}
throw err; throw err;
}).then((args) => { }).then((args) => {
API.getCurrentUser(); API.getCurrentUser();