add hcaptcha support

This commit is contained in:
RealAngeleno 2023-09-16 01:31:02 -07:00 committed by -
parent f48a763a8f
commit acf880012a

View File

@ -297,6 +297,7 @@
'raw', 'raw',
'embed', 'embed',
'g-recaptcha-response', 'g-recaptcha-response',
'h-captcha-response',
'captcha_cookie', 'captcha_cookie',
'captcha_text', 'captcha_text',
'spoiler', 'spoiler',
@ -324,6 +325,10 @@
$config['recaptcha_public'] = '6LcXTcUSAAAAAKBxyFWIt2SO8jwx4W7wcSMRoN3f'; $config['recaptcha_public'] = '6LcXTcUSAAAAAKBxyFWIt2SO8jwx4W7wcSMRoN3f';
$config['recaptcha_private'] = '6LcXTcUSAAAAAOGVbVdhmEM1_SyRF4xTKe8jbzf_'; $config['recaptcha_private'] = '6LcXTcUSAAAAAOGVbVdhmEM1_SyRF4xTKe8jbzf_';
// Public and private key pair for using hCaptcha.
$config['hcaptcha_public'] = '7a4b21e0-dc53-46f2-a9f8-91d2e74b63a0';
$config['hcaptcha_private'] = '0x4e9A01bE637b51dC41a7Ea9865C3fDe4aB72Cf17';
// Enable Custom Captcha you need to change a couple of settings // Enable Custom Captcha you need to change a couple of settings
//Read more at: /inc/captcha/readme.md //Read more at: /inc/captcha/readme.md
$config['captcha'] = array(); $config['captcha'] = array();