Aevann1 2022-01-12 00:05:27 +02:00
parent 38d224e2a2
commit 60edef2444
1 changed files with 1 additions and 2 deletions

View File

@ -55,7 +55,6 @@ def error_500(e):
@app.post("/allow_nsfw") @app.post("/allow_nsfw")
@auth_required def allow_nsfw():
def allow_nsfw(v):
session["over_18"] = int(time.time()) + 3600 session["over_18"] = int(time.time()) + 3600
return redirect(request.values.get("redir", "/")) return redirect(request.values.get("redir", "/"))