Redirect Unverified Users to Email Verification Page in Filament

I’ve started using Filament, and I’ve encountered an issue where users can access the dashboard immediately after signing up, even if their email is unverified. I want to enforce email verification by redirecting unverified users to the login page with a message prompting them to verify their email. Once their email is verified, they should be able to access the dashboard. What is the best approach to implement this in Filament?
Solution:
Did you add ->emailVerification() to your panel in the adminPanelProvider.php
Jump to solution
2 Replies
Solution
Mohamed Ayaou
Mohamed Ayaou2mo ago
Did you add ->emailVerification() to your panel in the adminPanelProvider.php
vishalsuri
vishalsuriOP2mo ago
@Mohamed Ayaou Thanks for reply, yes this was issue and resolved, as I am new to Laravel and Filament and the lack of clarity on basic things are causing issue. 👍

Did you find this page helpful?