Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.7] Do not send email verification if user is already verified (#25450
) Hey guys, So I'm using Socialite to register users. I'm dispatching the Registered event and since my model now extends MustVerifyEmail, it sends out an email to users which are already verified (force filled by my FB/Google integration). This makes sure that a "verified" user does not receive the email, so if in your registration process you mark them as verified, they will not receive the email.
- Loading branch information
71cf99b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
71cf99b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was just about to submit this!