config.php: accept captcha-form-id

This commit is contained in:
Zankaria 2024-10-28 12:32:48 +01:00
parent 04ef961440
commit 2741b1ea05

View file

@ -302,6 +302,7 @@
'raw', 'raw',
'embed', 'embed',
'captcha-response', 'captcha-response',
'captcha-form-id',
'spoiler', 'spoiler',
'page', 'page',
'file_url', 'file_url',
@ -341,6 +342,8 @@
* Use false to disable this configuration, otherwise, set the IP that vichan should check for captcha responses. * Use false to disable this configuration, otherwise, set the IP that vichan should check for captcha responses.
*/ */
'dynamic' => false, 'dynamic' => false,
// Require to be non-zero if you use js/ajax.js (preferably no more than a few seconds), otherwise weird errors might occur.
'passthrough_timeout' => 0,
// Configure Google reCAPTCHA. // Configure Google reCAPTCHA.
'recaptcha' => [ 'recaptcha' => [
// Public and private key pair from https://www.google.com/recaptcha/admin/create // Public and private key pair from https://www.google.com/recaptcha/admin/create