fixed login validator error message

This commit is contained in:
Devaev Maxim 2020-08-22 18:54:53 +03:00
parent fb08c9192f
commit fac83d9aaf

View File

@ -63,7 +63,7 @@ function __login() {
try { error = JSON.parse(http.responseText)["result"]["error"]; } catch (_) { /* Nah */ }
}
if (error === "ValidatorError") {
wm.error("Incorrect username characters").then(__tryAgain);
wm.error("Invalid username or password characters").then(__tryAgain);
} else {
wm.error("Login error:<br>", http.responseText).then(__tryAgain);
}