Anyone got a custom emailverification example?

I'm trying to set up custom verification to do one simple thing - subscribe the new user to a mailing list after verification but before login (which is when Filament normally fires the Verified event). I've tried multiple different ways, but can't get my head round how filament verifcation is working. I know the panel emailVerification() method exists, but not sure what to do in the class I add as an argument to that method. I've seen a small number of questions on this here, but some pass in a controller, some seem to pass in a response, and none do quite what I'm looking to do. Any suggestions would be REALLY gratefully received.
Solution:
Ah, forget this. I had some legacy middleware that I'd forgotten to remove that was interfering in things. Filament send the user to the dashboar panel, logged in, after verification, so the verification event fires immediately .
Jump to solution
1 Reply
Solution
_andypeacock
_andypeacock2mo ago
Ah, forget this. I had some legacy middleware that I'd forgotten to remove that was interfering in things. Filament send the user to the dashboar panel, logged in, after verification, so the verification event fires immediately .

Did you find this page helpful?