From b0ca7f5174d479cde17d2e3fdbe912b9ff80cd96 Mon Sep 17 00:00:00 2001 From: Sainan Date: Thu, 6 Feb 2025 16:00:34 +0100 Subject: [PATCH] fix(webui): lowercase email address to match client --- static/webui/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/webui/script.js b/static/webui/script.js index 6507d736..93b87d63 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -31,7 +31,7 @@ function doLoginRequest(succ_cb, fail_cb) { url: "/api/login.php", contentType: "text/plain", data: JSON.stringify({ - email: localStorage.getItem("email"), + email: localStorage.getItem("email").toLowerCase(), password: wp.encSync(localStorage.getItem("password"), "hex"), time: parseInt(new Date() / 1000), s: "W0RFXVN0ZXZlIGxpa2VzIGJpZyBidXR0cw==", // signature of some kind -- 2.47.2