forked from Ailur/burgernotes-server
Hopefully fix
This commit is contained in:
parent
f159bd31e9
commit
f6a28d0ace
|
@ -111,7 +111,7 @@ signupButton.addEventListener("click", (event) => {
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
username: username,
|
username: username,
|
||||||
password: await hashpass(password),
|
password: await hashpass(password),
|
||||||
passwordchange: 0,
|
passwordchange: "0",
|
||||||
newpass: 0
|
newpass: 0
|
||||||
}),
|
}),
|
||||||
headers: {
|
headers: {
|
||||||
|
@ -135,7 +135,7 @@ signupButton.addEventListener("click", (event) => {
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
username: username,
|
username: username,
|
||||||
password: await hashpassold(password),
|
password: await hashpassold(password),
|
||||||
passwordchange: 1,
|
passwordchange: "1",
|
||||||
newpass: await hashpass(password)
|
newpass: await hashpass(password)
|
||||||
}),
|
}),
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Reference in New Issue