Jump to:

23355 Posts in 17744 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Static Publisher & Blog Comments - SecurityID doesn't match

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 984 Views
  • outer/edge
    Avatar
    Community Member
    2 Posts

    Static Publisher & Blog Comments - SecurityID doesn't match Link to this post

    Hi All,

    We have the Static Publisher up and running nicely on Silverstripe 2.4 however people are unable to post comments on our Blog due to the CSRF validation error:

    SecurityID doesn't match, possible CSRF attack.

    On our Contact Form, we've applied the following which works fine:

    $form->disableSecurityToken();

    However we can't see how this should be applied with comments.

    Any ideas?

    Thanks

    David

  • ccburns
    Avatar
    Community Member
    74 Posts

    Re: Static Publisher & Blog Comments - SecurityID doesn't match Link to this post

    Hi David,

    Did you ever work this out? I have just set up the static publisher and had the same thing happened.

    Would appreciate if you could share if you solved the problem.

    Cheers,
    Colin

    984 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.