This commit is contained in:
Aevann1 2022-02-28 02:13:07 +02:00
parent 6b59636948
commit 48b34bdc91
6 changed files with 9 additions and 11 deletions

View file

@ -179,7 +179,7 @@ def sign_up_get(v):
if f.read() == "yes":
return {"error": "New account registration is currently closed. Please come back later."}, 403
if v: return redirect(f"{SITE_FULL}/")
if v: return redirect(SITE_FULL)
agent = request.headers.get("User-Agent", None)
if not agent: abort(403)
@ -350,7 +350,7 @@ def sign_up_post(v):
g.db.commit()
return redirect(f"{SITE_FULL}/")
return redirect(SITE_FULL)
@app.get("/forgot")