diff --git a/config/captcha.php b/config/captcha.php index 5d9f8736..7145b0dd 100644 --- a/config/captcha.php +++ b/config/captcha.php @@ -7,17 +7,17 @@ * Don't edit this file directly, add the section to your config.php */ return [ - 'enabled' => false, - 'sitekey' => '', - 'secret' => '', + 'enabled' => env('CAPTCHA_ENABLED', 'false'), + 'sitekey' => env('CAPTCHA_SITEKEY', ''), + 'secret' => env('CAPTCHA_SECRET', ''), // Attributes can be found here: // https://developers.google.com/recaptcha/docs/display#render_param 'attributes' => [ - 'data-theme' => 'light', + 'data-theme' => env('CAPTCHA_DATATHEME', 'light'), ], 'options' => [ - 'timeout' => 2.0, + 'timeout' => env('CAPTCHA_TIMEOUT', '2.0'), ], ];