Auth fails for unverified users
4️⃣v4
Starting my first Filament 4 project after many on Filament 3.
I have hit a issue where when I try to login with valid credentials for a user that is not verified I see what looks like an auth failure and the login form responds with "These credentials do not match our records.".
If I inject a verified date into the DB login works fine.
My panel provider has:
And my user model has:
What do I need to do to trigger the email verification process?
I have hit a issue where when I try to login with valid credentials for a user that is not verified I see what looks like an auth failure and the login form responds with "These credentials do not match our records.".
If I inject a verified date into the DB login works fine.
My panel provider has:
->login()
->passwordReset()
->emailVerification()
->emailChangeVerification()And my user model has:
class User extends Authenticatable implements FilamentUser, MustVerifyEmail
{
/** @use HasFactory<\Database\Factories\UserFactory> */
use HasFactory, Notifiable, SoftDeletes;
public function canAccessPanel(Panel $panel): bool
{
return $this->hasVerifiedEmail();
}
}What do I need to do to trigger the email verification process?

