fd
This commit is contained in:
parent
6b59636948
commit
48b34bdc91
6 changed files with 9 additions and 11 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue