IDisableCSRFProtection on @@moderate-publish-comment removed
This commit is contained in:
parent
f3c0b16a42
commit
8bd1992a7f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user