diff --git a/files/routes/errors.py b/files/routes/errors.py index 0526f9e89..78e046ff1 100644 --- a/files/routes/errors.py +++ b/files/routes/errors.py @@ -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", "/")) \ No newline at end of file