Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.7] Do not send email verification if user is already verified #25450

Merged
merged 1 commit into from
Sep 5, 2018
Merged

[5.7] Do not send email verification if user is already verified #25450

merged 1 commit into from
Sep 5, 2018

Conversation

Francismori7
Copy link
Contributor

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.

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.
@taylorotwell taylorotwell merged commit 71cf99b into laravel:5.7 Sep 5, 2018
@sisve
Copy link
Contributor

sisve commented Sep 6, 2018

No tests?

@Francismori7
Copy link
Contributor Author

@sisve There are no tests regarding email verification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants