fix(webui): email address not being lowercased (#2589)
Some checks failed
Build Docker image / docker-amd64 (push) Waiting to run
Build / build (push) Has been cancelled
Build Docker image / docker-arm64 (push) Has been cancelled

Regression introduced by 2fa6dcc7edb34c9382c31739d8b61a84803d69c2, which threw out the change introduced by 1fd801403fc8d24851e46477258759d0149eb76f.

Reviewed-on: #2589
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
Sainan 2025-08-06 04:00:43 -07:00 committed by Sainan
parent 4a2d863c9c
commit 834b7a8196

View File

@ -18,7 +18,7 @@ const sendAuth = isRegister => {
window.ws.send( window.ws.send(
JSON.stringify({ JSON.stringify({
auth: { auth: {
email: localStorage.getItem("email"), email: localStorage.getItem("email").toLowerCase(),
password: wp.encSync(localStorage.getItem("password")), password: wp.encSync(localStorage.getItem("password")),
isRegister isRegister
} }