mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
fixed login validator error message
This commit is contained in:
parent
fb08c9192f
commit
fac83d9aaf
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user