From 9425180fd717d06e5b55a7f20e823b10bf35774d Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Tue, 5 Aug 2025 20:04:18 +0200 Subject: [PATCH] fix(webui): email address not being lowercased Regression introduced by 2fa6dcc7edb34c9382c31739d8b61a84803d69c2, which threw out the change introduced by 1fd801403fc8d24851e46477258759d0149eb76f. --- 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 57da8a51..fe4fe3e3 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 }