From 60edef2444943573565655edaf830c1045861ca2 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 12 Jan 2022 00:05:27 +0200 Subject: [PATCH] b --- files/routes/errors.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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