-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fortify routes already been assigned #6628
Comments
Hi there, We need to see how Fortify is being setup on your app before we can replicate the issue. If you looked at |
Hello, Just create fortify.php in routes and add the content of fortify/routes/routes.php, then register the route in the RouteServiceProvider
you will notice the issue with php artisan route:cache |
In |
The issue seems because of the order of the Service providers
We changed the order including |
This comment was marked as off-topic.
This comment was marked as off-topic.
@MattiaMarchiorato Please keep the issue to a specific error so we can have a single reproducing step. Can you share the content of |
Yes sure
|
This is now fixed in 5.0.5, add the following to /**
* Register the Nova routes.
*/
protected function routes(): void
{
Nova::routes()
->withAuthenticationRoutes(default: true)
->withPasswordResetRoutes()
+ ->withoutEmailVerificationRoutes()
->register();
} |
For the moment, we solved by disabling in fortify
delete Thanks |
Description:
With artisan route:cache
Unable to prepare route [email/verify/{id}/{hash}] for serialization. Another route has already been assigned name [verification.verify].
Detailed steps to reproduce the issue on a fresh Nova installation:
We are using fortify in our app and we published fortify.php routes under routes folder. Since we updated to nova 5.* we receive this error.
The text was updated successfully, but these errors were encountered: