forked from leftypol/leftypol
Simple anti-spam mechanism
This commit is contained in:
parent
ea67272e87
commit
e2bef8c2f2
3 changed files with 24 additions and 1 deletions
|
@ -308,9 +308,16 @@
|
|||
'json_response',
|
||||
'user_flag',
|
||||
'no_country',
|
||||
'tag'
|
||||
'tag',
|
||||
'simple_spam'
|
||||
);
|
||||
|
||||
// Enable simple anti-spam measure.
|
||||
$config['simple_spam'] = array (
|
||||
'question' => 'What is 2 + 2?',
|
||||
'answer' => '4'
|
||||
);
|
||||
|
||||
// Enable reCaptcha to make spam even harder. Rarely necessary.
|
||||
$config['recaptcha'] = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue