Skip to content

Commit

Permalink
IDisableCSRFProtection on @@moderate-publish-comment removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Nov 22, 2019
1 parent 9a7d0c2 commit 2d6c612
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plone/app/discussion/browser/moderation.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ class PublishComment(BrowserView):
"""

def __call__(self):
alsoProvides(self.request, IDisableCSRFProtection)
comment = aq_inner(self.context)
content_object = aq_parent(aq_parent(comment))
workflowTool = getToolByName(comment, 'portal_workflow', None)
Expand Down

0 comments on commit 2d6c612

Please sign in to comment.