Add Google reCAPTCHA(no perception) for laravel-admin
composer require lyne007/auth-recaptcha- In the extensions section of the
config/admin.phpfile, add configurations
'extensions' => [
'auth-recaptcha' => [
// set to false if you want to disable this extension
'enable' => true,
// set to false if you want to disable icon
'iconDisplay' => true,
// reCAPTCHA:v3 keys
'siteKey' => 'your google reCAPTCHA site key',
'secretKey' => 'your google reCAPTCHA secret key',
]
],Register and get reCAPTCHA keys; https://www.google.com/recaptcha
- Exclude CAPTCHA Interface Restrictions
In the excepts section of the
config/admin.phpfile, add configurations
'excepts' => [
'auth/login',
'auth/logout',
// add
'auth/api/recaptcha'
],Open your login page in your browser
Licensed under MIT License
