soluzione-software / nova-auth-captcha
Installs: 1 783
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: ^7.0
- biscolab/laravel-recaptcha: ^4.1
- illuminate/support: 5.8.*|^6.0|^7.0|^8.0
- laravel/nova: ~2.0|~3.0
README
Note the package is currently in beta. During the beta period things can and probably will change. Don't use it in production until a stable version has been released. We appreciate you helping out with testing and reporting any bugs.
The package adds captcha(only reCAPTCHA for now) to laravel nova authentication forms. Under the hood it uses https://github.com/biscolab/laravel-recaptcha
Installation & Configuration
composer require soluzione-software/nova-auth-captcha
Replace Laravel\Nova\Nova
with SoluzioneSoftware\Nova\AuthCaptcha\Nova
in app/Providers/NovaServiceProvider.php
publish nova views:
php artisan vendor:publish --tag=nova-auth-captcha-vendor-views
Edit .env
file as described in https://laravel-recaptcha-docs.biscolab.com/docs/configuration#add-your-api-keys
(Optional) Edit translation files as described in https://laravel-recaptcha-docs.biscolab.com/docs/configuration#customize-error-message
Disabling locally
Add the following line to .env
in order to disable the captcha:
NOVA_AUTH_CAPTCHA_ENABLED=false