soluzione-software/nova-auth-captcha

0.2.2 2021-02-16 09:30 UTC

This package is auto-updated.

Last update: 2022-11-16 13:24:04 UTC


README

Latest Version MIT License

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