Read Captcha Settings From ENV (#1130)
* Read Captcha Settings From ENV * Update captcha.php
This commit is contained in:
@@ -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'),
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user