返回提交历史
Modified
static/webui/script.js
+1
-1
XFEstudio/XFESpaceNinjaServer
fix(webui): lowercase email address to match client (#912)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/912 Co-authored-by: Sainan <sainan@calamity.inc> Co-committed-by: Sainan <sainan@calamity.inc>
1fd80140
代码差异
1 个文件
+1
-1
@@ -31,7 +31,7 @@ function doLoginRequest(succ_cb, fail_cb) {
31
31
url: "/api/login.php",
32
32
contentType: "text/plain",
33
33
data: JSON.stringify({
34
email: localStorage.getItem("email"),
34
email: localStorage.getItem("email").toLowerCase(),
35
35
password: wp.encSync(localStorage.getItem("password"), "hex"),
36
36
time: parseInt(new Date() / 1000),
37
37
s: "W0RFXVN0ZXZlIGxpa2VzIGJpZyBidXR0cw==", // signature of some kind