forked from MarseyWorld/MarseyWorld
master
parent
38d224e2a2
commit
60edef2444
|
@ -55,7 +55,6 @@ def error_500(e):
|
|||
|
||||
|
||||
@app.post("/allow_nsfw")
|
||||
@auth_required
|
||||
def allow_nsfw(v):
|
||||
def allow_nsfw():
|
||||
session["over_18"] = int(time.time()) + 3600
|
||||
return redirect(request.values.get("redir", "/"))
|
Loading…
Reference in New Issue