mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 14:46:04 +02:00
bugfixt
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user