<?php if (!class_exists('CaptchaConfiguration')) { return; }

// BotDetect PHP Captcha configuration options

/*
 * https://captcha.com/doc/php/captcha-options.html#captcha_php_persistence_function_names
 */

$codeLength = CaptchaRandomization::GetRandomCodeLength(4, 4);

return [
    // Captcha configuration
    'PostWriteCaptcha' => [
        'UserInputID' => 'captcha',
        'ImageWidth' => 250,
        'ImageHeight' => 60,
        'CodeLength' => $codeLength,
        'HelpLinkText' => '자동등록방지문자',
        'HelpLinkMode' => HelpLinkMode::Text
    ],
    'PostEditCaptcha' => [
        'UserInputID' => 'captcha',
        'ImageWidth' => 250,
        'ImageHeight' => 60,
        'CodeLength' => $codeLength,
        'HelpLinkText' => '자동등록방지문자',
        'HelpLinkMode' => HelpLinkMode::Text
    ]
    // 로그인
    // 회원가입
];
