Add basic captcha

This commit is contained in:
discomrade 2021-05-05 10:29:06 -02:00
parent 661837a4b1
commit 11bab0a9ad
8 changed files with 3935 additions and 0 deletions

View file

@ -1779,6 +1779,16 @@
* ====================
*/
//Securimage captcha
//Note from lainchan PR: "TODO move a bunch of things here"
$config['spam']['valid_inputs'][]='captcha';
$config['error']['securimage']=array(
'missing'=>'The captcha field was missing. Please try again',
'empty'=>'Please fill out the captcha',
'bad'=>'Incorrect captcha',
);
// Meta keywords. It's probably best to include these in per-board configurations.
// $config['meta_keywords'] = 'chan,anonymous discussion,imageboard,tinyboard';