email verification and canAccessPanel problem
I have enable
->emailVerification() on my panel provider, and implements MustVerifyEmail and FilamentUser on my User model.
When I return $this->hasVerifiedEmail() from canAccessPanel() it shows 403 instead of email-verification page, when I return only true it display the page correctly.
What should I need to do to resolve this, I want to use hasVerifiedEmail in the canAccessPanel
Filament version 4.1.9

Solution:Jump to solution
emailVerification() already check what I want, so closing this. thanks for your quick reply π3 Replies
So you want to show the re-send page instead to verify the email again if they haven't clicked the link?
I think MustVerifyEmail requires panel access to validate the link. You don't need to use hasVerifiedEmail in canAccessPanel
Solution
emailVerification() already check what I want, so closing this. thanks for your quick reply π