Check CSRF Token at POST /authorize_follow

This commit is contained in:
hiromi-mi
2020-06-04 14:43:52 +09:00
parent 4c5d798ed4
commit a34905dfda

View File

@@ -639,6 +639,7 @@ def authorize_follow():
)
)
csrf.protect()
actor = get_actor_url(request.form.get("profile"))
if not actor:
abort(500)