2018-03-16 23:50:04 +08:00
|
|
|
<?php
|
|
|
|
|
2018-03-17 00:38:06 +08:00
|
|
|
/*
|
|
|
|
* The keys can be created here
|
|
|
|
* https://www.google.com/recaptcha/admin
|
|
|
|
*
|
|
|
|
* Don't edit this file directly, add the section to your config.php
|
|
|
|
*/
|
2018-03-16 23:50:04 +08:00
|
|
|
return [
|
2021-04-13 04:55:38 +08:00
|
|
|
'enabled' => env('CAPTCHA_ENABLED', false),
|
2021-04-11 23:35:14 +08:00
|
|
|
'sitekey' => env('CAPTCHA_SITEKEY', ''),
|
|
|
|
'secret' => env('CAPTCHA_SECRET', ''),
|
2018-03-17 00:38:06 +08:00
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
// Attributes can be found here:
|
|
|
|
// https://developers.google.com/recaptcha/docs/display#render_param
|
2018-03-17 00:38:06 +08:00
|
|
|
'attributes' => [
|
2021-04-11 23:35:14 +08:00
|
|
|
'data-theme' => env('CAPTCHA_DATATHEME', 'light'),
|
2018-03-17 00:38:06 +08:00
|
|
|
],
|
|
|
|
|
2018-03-16 23:50:04 +08:00
|
|
|
'options' => [
|
2021-04-11 23:35:14 +08:00
|
|
|
'timeout' => env('CAPTCHA_TIMEOUT', '2.0'),
|
2018-03-16 23:50:04 +08:00
|
|
|
],
|
|
|
|
];
|