1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 07:30:10 +01:00

add hcaptcha support

This commit is contained in:
RealAngeleno 2023-09-16 01:31:02 -07:00 committed by GitHub
parent ad3731ec67
commit f396204e44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -295,6 +295,7 @@
'raw', 'raw',
'embed', 'embed',
'g-recaptcha-response', 'g-recaptcha-response',
'h-captcha-response',
'captcha_cookie', 'captcha_cookie',
'captcha_text', 'captcha_text',
'spoiler', 'spoiler',
@ -313,6 +314,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();