返回提交历史
Modified
static/webui/script.js
+1
-1
XFEstudio/XFESpaceNinjaServer
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>
834b7a81
代码差异
1 个文件
+1
-1
@@ -18,7 +18,7 @@ const sendAuth = isRegister => {
18
18
window.ws.send(
19
19
JSON.stringify({
20
20
auth: {
21
email: localStorage.getItem("email"),
21
email: localStorage.getItem("email").toLowerCase(),
22
22
password: wp.encSync(localStorage.getItem("password")),
23
23
isRegister
24
24
}