closing2
This commit is contained in:
parent
99b0a8ca17
commit
609bbfafc6
12 changed files with 64 additions and 64 deletions
|
@ -55,7 +55,7 @@ def error_500(e):
|
|||
|
||||
|
||||
@app.post("/allow_nsfw")
|
||||
@auth_desired
|
||||
@auth_required
|
||||
def allow_nsfw(v):
|
||||
session["over_18"] = int(time.time()) + 3600
|
||||
return redirect(request.values.get("redir", "/"))
|
Loading…
Add table
Add a link
Reference in a new issue