Laravel Jetstream Fortify Integration #48
Unanswered
daugaard47
asked this question in
Q&A
Replies: 1 comment
-
In the event that other folks encounter this, here's what we did to get Honey to work with the Fortify registration page. First, we had to cleanly replicate the Fortify routes using the method described in a Laracast post by MostafaGamal https://laracasts.com/discuss/channels/laravel/use-middleware-on-fortify-login-and-register-routes In our local /routes/fortify.php, the Registration section looks like this:
We also added a custom exception handler for Honey which is in the boot section of our FortifyServiceProvider file:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to get Honey to work with Laravel Jetstream specifically on the Registration page. I'm getting a ton of Spam here.
Jetstream uses Fortify as it's Auth system.
Here is what I've been trying, but cannot get it to block the spammers. I have it working fine on other parts of my site like the contact form, but this Auth is throwing me for a loop.
Fortify web routes:
Registration View:
Now Fortify uses Action rather the controller:
Here is the action to create the user.
App\Actions\Fortify\CreateNewUser.php:
Could the issue be that it's an
array $input
rather a$request
on theCreateNewUser
?Any help to figure this out would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions