From d107377167639958b327ddf179ef7e80222b9a14 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 31 Jul 2021 08:27:21 +0200 Subject: [PATCH] dfdf --- drama/routes/comments.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drama/routes/comments.py b/drama/routes/comments.py index cf31f2f12e..ee58b7e0b7 100644 --- a/drama/routes/comments.py +++ b/drama/routes/comments.py @@ -558,7 +558,8 @@ def api_comment(v): @app.post("/edit_comment/") -@auth_desired +@is_not_banned +@validate_formkey def edit_comment(cid, v): c = get_comment(cid, v=v)