Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Disable MathSpamProtection for logged in users

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: 577 Views
  • MarijnKampf
    Community Member
    164 Posts

    Disable MathSpamProtection for logged in users Link to this post

    I'm trying not enable MathSpamProtection for logged in users when they are posting comment or sending forms.

    I thought it could be simple by changing the _config.php to:
    if(Member::currentUser()) MathSpamProtection::setEnabled();

    However, Member is not known yet in the _config.php. Is there a simple of way of disabling MathSpamProtection for visitors that are already logged in?

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.