fix(webui): email address not being lowercased (#2589)
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:
parent
4a2d863c9c
commit
834b7a8196
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user