This commit is contained in:
Maxim Devaev
2024-08-27 01:49:17 +03:00
parent 308911191a
commit 99fcbdda05
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ function __login() {
} else {
let error = "";
if (http.status === 400) {
try { error = JSON.parse(http.responseText)["result"]["error"]; } catch (_) { /* Nah */ }
try { error = JSON.parse(http.responseText)["result"]["error"]; } catch { /* Nah */ }
}
if (error === "ValidatorError") {
wm.error("Invalid characters in credentials").then(__tryAgain);