From 834b7a8196214598292cbdf3711653b1494c1448 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Wed, 6 Aug 2025 04:00:43 -0700 Subject: [PATCH] fix(webui): email address not being lowercased (#2589) Regression introduced by 2fa6dcc7edb34c9382c31739d8b61a84803d69c2, which threw out the change introduced by 1fd801403fc8d24851e46477258759d0149eb76f. Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2589 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- 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 57da8a51e..fe4fe3e38 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -18,7 +18,7 @@ const sendAuth = isRegister => { window.ws.send( JSON.stringify({ auth: { - email: localStorage.getItem("email"), + email: localStorage.getItem("email").toLowerCase(), password: wp.encSync(localStorage.getItem("password")), isRegister }