Check CSRF Token at POST /authorize_follow
This commit is contained in:
@@ -639,6 +639,7 @@ def authorize_follow():
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
csrf.protect()
|
||||||
actor = get_actor_url(request.form.get("profile"))
|
actor = get_actor_url(request.form.get("profile"))
|
||||||
if not actor:
|
if not actor:
|
||||||
abort(500)
|
abort(500)
|
||||||
|
Reference in New Issue
Block a user