forked from MarseyWorld/MarseyWorld
master
parent
38d224e2a2
commit
60edef2444
|
@ -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", "/"))
|
Loading…
Reference in New Issue