fix(webui): lowercase email address to match client #912
@ -31,7 +31,7 @@ function doLoginRequest(succ_cb, fail_cb) {
|
|||||||
url: "/api/login.php",
|
url: "/api/login.php",
|
||||||
contentType: "text/plain",
|
contentType: "text/plain",
|
||||||
data: JSON.stringify({
|
data: JSON.stringify({
|
||||||
email: localStorage.getItem("email"),
|
email: localStorage.getItem("email").toLowerCase(),
|
||||||
password: wp.encSync(localStorage.getItem("password"), "hex"),
|
password: wp.encSync(localStorage.getItem("password"), "hex"),
|
||||||
time: parseInt(new Date() / 1000),
|
time: parseInt(new Date() / 1000),
|
||||||
s: "W0RFXVN0ZXZlIGxpa2VzIGJpZyBidXR0cw==", // signature of some kind
|
s: "W0RFXVN0ZXZlIGxpa2VzIGJpZyBidXR0cw==", // signature of some kind
|
||||||
|
Loading…
x
Reference in New Issue
Block a user