summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-08-22 18:54:53 +0300
committerDevaev Maxim <[email protected]>2020-08-22 18:54:53 +0300
commitfac83d9aaf27ea962996f3f1eb756b690fe40495 (patch)
tree3f7a0288e51d46e73287794e86088f22a6a326ba /web
parentfb08c9192fe83b72d3f0caf0fed33b95dda7f240 (diff)
fixed login validator error message
Diffstat (limited to 'web')
-rw-r--r--web/share/js/login/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/login/main.js b/web/share/js/login/main.js
index 9bad70dd..0317359c 100644
--- a/web/share/js/login/main.js
+++ b/web/share/js/login/main.js
@@ -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);
}