I'm trying to get laravel's implemented email verification system working (https://laravel.com/docs/8.x/verification).
What i did so far:
Enabled the Feature emailVerification in the file config/fortify.php like so:
... 'features' => [ Features::registration(), Features::resetPasswords(), Features::emailVerification(), Features::updateProfileInformation(), Features::updatePasswords(), Features::twoFactorAuthentication([ 'confirmPassword' => true, ]), ], ...implemented MustVeriffyEmail in the app/Models/User.php file like so:
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Fortify\TwoFactorAuthenticatable; use Laravel\Jetstream\HasProfilePhoto; use Laravel\Jetstream\HasTeams; use Laravel\Sanctum\HasApiTokens; class User extends Authenticatable implements MustVerifyEmail { use HasApiTokens; use HasFactory; use HasProfilePhoto; use HasTeams; use Notifiable; use TwoFactorAuthenticatable; ...
My result after these edits is that everything is working just fine except the email verification link which i get per mail. If i try to click the Link it just redirekts me to the login page without any error messages.
The link in the mail looks something like this:
If i check my database, everything seems fine too, except i don't get any recorts in the email_verified_at column (which is present).
Maybe someone had the same issue and could help me out here?
Best regards, Leon