phpvms/config/captcha.php

24 lines
587 B
PHP
Raw Normal View History

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 [
'enabled' => env('CAPTCHA_ENABLED', false),
'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' => [
'data-theme' => env('CAPTCHA_DATATHEME', 'light'),
2018-03-17 00:38:06 +08:00
],
2018-03-16 23:50:04 +08:00
'options' => [
'timeout' => env('CAPTCHA_TIMEOUT', '2.0'),
2018-03-16 23:50:04 +08:00
],
];