summaryrefslogtreecommitdiff
path: root/web/share/js/login
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-08-27 01:49:17 +0300
committerMaxim Devaev <[email protected]>2024-08-27 01:49:17 +0300
commit99fcbdda052940f450d397f3c3577be25c0fe52d (patch)
treebf15a273121ad8ff184ef9b6191e46d652577338 /web/share/js/login
parent308911191a839a24272b623160bb1628b8ce1880 (diff)
lint fix
Diffstat (limited to 'web/share/js/login')
-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 41ed6141..4ffa276a 100644
--- a/web/share/js/login/main.js
+++ b/web/share/js/login/main.js
@@ -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);