Jump to:

22976 Posts in 11702 Topics by 2826 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: 541 Views
  • MarijnKampf
    Avatar
    Community Member
    161 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?

    541 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.