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:
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.
Jump to solution
1 Reply
Solution
tuto1902
tuto190215mo ago
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
->authMiddleware([
Authenticate::class,
EnsureEmailIsVerified::class
]);
->authMiddleware([
Authenticate::class,
EnsureEmailIsVerified::class
]);
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.
Want results from more Discord servers?
Add your server