Add invisible ReCAPTCHA to login and password reset

This commit is contained in:
Jakob Schrettenbrunner 2017-03-31 12:19:44 +02:00
parent f2f834af49
commit 142cbb0641
8 changed files with 184 additions and 4 deletions

26
config/recaptcha.php Normal file
View file

@ -0,0 +1,26 @@
<?php
return [
/**
* Enable or disable captchas
*/
'enabled' => env('RECAPTCHA_ENABLED', true),
/**
* Use a custom secret key, we use our public one by default
*/
'secret_key' => env('RECAPTCHA_SECRET_KEY', '6LekAxoUAAAAAPW-PxNWaCLH76WkClMLSa2jImwD'),
/**
* Use a custom website key, we use our public one by default
*/
'website_key' => env('RECAPTCHA_WEBSITE_KEY' ,'6LekAxoUAAAAADjWZJ4ufcDRZBBiH9vfHawqRbup'),
/**
* Domain verification is enabled by default and compares the domain used when solving the captcha
* as public keys can't have domain verification on google's side enabled (obviously).
*/
'verify_domain' => true,
];