mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-29 08:23:17 +00:00
20 lines
537 B
PHP
20 lines
537 B
PHP
<?php
|
|
|
|
return [
|
|
'enabled' => env('CAPTCHA_ENABLED', false),
|
|
'secret' => env('CAPTCHA_SECRET', 'default_secret'),
|
|
'sitekey' => env('CAPTCHA_SITEKEY', 'default_sitekey'),
|
|
'http_client' => \Buzz\LaravelHCaptcha\HttpClient::class,
|
|
'options' => [
|
|
'multiple' => false,
|
|
'lang' => app()->getLocale(),
|
|
],
|
|
'attributes' => [
|
|
'theme' => 'light'
|
|
],
|
|
|
|
'active' => [
|
|
'login' => env('CAPTCHA_ENABLED_ON_LOGIN', false),
|
|
'register' => env('CAPTCHA_ENABLED_ON_REGISTER', false)
|
|
]
|
|
];
|