Simple anti-spam mechanism

This commit is contained in:
Your Name 2023-09-10 23:46:38 +02:00 committed by Zankaria
parent ea67272e87
commit e2bef8c2f2
3 changed files with 24 additions and 1 deletions

View file

@ -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;