From ebcf715a35d815aea9c7a7f511270d54310b526d Mon Sep 17 00:00:00 2001 From: pypy Date: Mon, 13 Jan 2020 22:13:28 +0900 Subject: [PATCH] bugfixt --- html/app.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/html/app.js b/html/app.js index ca2009ce..d049da8e 100644 --- a/html/app.js +++ b/html/app.js @@ -3207,9 +3207,7 @@ CefSharp.BindObjectAsync( API.verifyTOTP({ code: instance.inputValue }).catch((err) => { - if (err.status_code === 400) { - this.promptTOTP(); - } + this.promptTOTP(); throw err; }).then((args) => { API.getCurrentUser(); @@ -3235,9 +3233,7 @@ CefSharp.BindObjectAsync( API.verifyOTP({ code: instance.inputValue }).catch((err) => { - if (err.status_code === 400) { - this.promptOTP(); - } + this.promptOTP(); throw err; }).then((args) => { API.getCurrentUser();