| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php if (!class_exists('CaptchaConfiguration')) { return; }
- // BotDetect PHP Captcha configuration options
- // more details here: https://captcha.com/doc/php/captcha-options.html
- // ----------------------------------------------------------------------------
- return [
- /*
- |--------------------------------------------------------------------------
- | Captcha configuration for example page
- |--------------------------------------------------------------------------
- */
- 'ExampleCaptcha' => [
- 'UserInputID' => 'CaptchaCode',
- 'CodeLength' => 4,
- 'ImageWidth' => 250,
- 'ImageHeight' => 50,
- ],
- /*
- |--------------------------------------------------------------------------
- | Captcha configuration for contact page
- |--------------------------------------------------------------------------
- */
- 'ContactCaptcha' => [
- 'UserInputID' => 'CaptchaCode',
- 'CodeLength' => CaptchaRandomization::GetRandomCodeLength(4, 6),
- 'ImageStyle' => ImageStyle::AncientMosaic,
- ],
- /*
- |--------------------------------------------------------------------------
- | Captcha configuration for login page
- |--------------------------------------------------------------------------
- */
- 'LoginCaptcha' => [
- 'UserInputID' => 'CaptchaCode',
- 'CodeLength' => 3,
- 'ImageStyle' => [
- ImageStyle::Radar,
- ImageStyle::Collage,
- ImageStyle::Fingerprints,
- ],
- ],
- /*
- |--------------------------------------------------------------------------
- | Captcha configuration for register page
- |--------------------------------------------------------------------------
- */
- 'RegisterCaptcha' => [
- 'UserInputID' => 'CaptchaCode',
- 'CodeLength' => CaptchaRandomization::GetRandomCodeLength(3, 4),
- 'CodeStyle' => CodeStyle::Alpha,
- ],
- /*
- |--------------------------------------------------------------------------
- | Captcha configuration for reset password page
- |--------------------------------------------------------------------------
- */
- 'ResetPasswordCaptcha' => [
- 'UserInputID' => 'CaptchaCode',
- 'CodeLength' => 2,
- 'CustomLightColor' => '#9966FF',
- ],
- // Add more your Captcha configuration here...
- ];
|