Send Email Verification to user
Hello,
How do I prevent unverified email login to the Panel please and prompt them for verifying email address please?
I used this in User Model
public function canAccessPanel(Panel $panel): bool
{
return true && $this->hasVerifiedEmail();
}
also using ->emailVerification() with $panel in AdminPanelProvider
it doesn't let users login and says "These credentials do not match our records."
I need this to prompt them from verifying email address or send the verification email without the prompt and show the message please verify your email address instead of "These credentials do not match our records."
Thank you
How do I prevent unverified email login to the Panel please and prompt them for verifying email address please?
I used this in User Model
public function canAccessPanel(Panel $panel): bool
{
return true && $this->hasVerifiedEmail();
}
also using ->emailVerification() with $panel in AdminPanelProvider
it doesn't let users login and says "These credentials do not match our records."
I need this to prompt them from verifying email address or send the verification email without the prompt and show the message please verify your email address instead of "These credentials do not match our records."
Thank you