feat(captcha): Added Text Captcha provider (#1839)

* feat(captcha): Added `Text Captcha` provider

* Create TextCaptcha.php

* Updated

* Update composer.lock

* Updated

* Update config.php

* Update functions.php

* Update TextCaptcha.php

* Update TextCaptcha.php

* Update TextCaptcha.php

* Update TextCaptcha.php

* Update TextCaptcha.php

* Update TextCaptcha.php

* Update TextCaptcha.php
This commit is contained in:
Roman Kelesidis 2025-03-09 00:12:48 +07:00 committed by GitHub
commit 74ea1573b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 165 additions and 31 deletions

View file

@ -675,7 +675,7 @@ $bb_cfg['group_avatars'] = [
// Captcha
$bb_cfg['captcha'] = [
'disabled' => true,
'service' => 'googleV3', // Available services: googleV2, googleV3, hCaptcha, yandex, cloudflare
'service' => 'googleV3', // Available services: text, googleV2, googleV3, hCaptcha, yandex, cloudflare
'public_key' => '',
'secret_key' => '',
'theme' => 'light', // theming (available: light, dark) (working only if supported by captcha service)