diff --git a/main b/main index 009953e..8094c68 100644 --- a/main +++ b/main @@ -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"] diff --git a/static/js/signup.js b/static/js/signup.js index 7f0049e..a1c7e00 100644 --- a/static/js/signup.js +++ b/static/js/signup.js @@ -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) } }