emailVerification
Heloo everyone. In filament authentication feature there is emailverification(). Is that for check email verification? How to use it? I want to implement email verification after register new user, and sending email to the user that register. How step to implement that ?
Solution:Jump to solution
Add
->emailVerification()
to your panel configuration and follow Laravel's documentation to prepare the User model for email verification.
https://laravel.com/docs/10.x/verification#main-content
Don't worry about protecting routes as Filament handles routes internally...Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
1 Reply
Solution
Add
->emailVerification()
to your panel configuration and follow Laravel's documentation to prepare the User model for email verification.
https://laravel.com/docs/10.x/verification#main-content
Don't worry about protecting routes as Filament handles routes internally
If your routes are not protected after setting this up, try adding the EnsureEmailIsVerified
middleware to you panel as well
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.