Route [filament.admin.auth.email-verification.verify] not defined.
Hi all, i've 3 panel:
- admin
- company
- user
In the
CompanyPanelProvider
i've added a custom Register class. And it works well.
But after submittin the registration i obtain the error:
Route [filament.admin.auth.email-verification.verify] not defined.
But i don't understand the error....I've MustVerifyEmail in User.php and ->emailVerification() in CompanyPanelProvider....what's wrong?7 Replies
I have seen another topic about this, it's down to your register class
Think you need to enable:
->emailVerification()
on each provider.
GitHub
"Is there any information in the documentation about email verifica...
During registration, my code is throwing an error: Route [filament.admin.auth.email-verification.verify] not defined. But I can't find any information about email verification or registration i...
This is My Register Class, what's wrong here?
I ma not sure it is, I think you need to enable emailVerification on each panel
It's looking for the verify route on the admin panel that doesn't yet exist.
on each panel sounds weird...i'll try but i dont think is the cleanest solution
In this case the admin panel is what’s being routed too you see and the route doesn’t exist as email isn’t on.
If you don't want to repeated configuration on each panel then this is a simple trick (1 minute reading):
https://filamentphp.com/content/shaung-bhone-overriding-the-filament-panel-provider
Filament
Overriding the Filament PanelProvider by Shaung Bhone - Filament
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.