Fixed signup

This commit is contained in:
Tracker-Friendly 2023-11-03 20:30:32 +00:00
parent 071aef2ad1
commit 28dee89c6c
2 changed files with 1 additions and 3 deletions

2
main
View File

@ -122,8 +122,6 @@ def privacy():
@app.route("/api/signup", methods=("GET", "POST"))
def apisignup():
if request.method == "POST":
return {}, 500
data = request.get_json()
username = data["username"]
password = data["password"]

View File

@ -92,7 +92,7 @@ signupButton.addEventListener("click", (event) => {
showElements(true)
}
else {
statusBox.innerText = "Something went wrong! (error code: " + respStatus + ")"
statusBox.innerText = "Something went wrong!"
showElements(true)
}
}