why does Laravel 8.x / Jetstream email verification not work?

5.3k views Asked by At

I am not able to implement email verification using laravel 8.x and Laravel Jetstream.

As the instructions direct in the Laravel Jetstream documentation, I uncommented the emailVerification feature in config/fortify.php.

Features::emailVerification(),

I implemented the MustVerifyEmail interface in App/Models/User.

use Illuminate\Contracts\Auth\MustVerifyEmail;

I verified that both of these changes actually occurred on the server. I ran php artisan optimize to clear the configuration cache. I verified that Laravel will send an email, by using the lost password functionality, which produced the specified email. I inserted the three routes recommended in the Laravel authentication documentation.

1

There are 1 answers

3
Santosh Kshirsagar On

You forgot to add implements MustVerifyEmail

class User extends Authenticatable implements MustVerifyEmail