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
Was this page helpful?