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

fix: fix verification email being sent twice #962

Merged
merged 1 commit into from
Jun 5, 2021

Conversation

djaiss
Copy link
Member

@djaiss djaiss commented Jun 4, 2021

I have NO idea how it's possible, but somehow the verification email is sent twice during registration.

When I delete the line where we send the email ourself, the email is only sent twice.

So it fixes the bug. BUT...

As the line to send the email is deleted, why do we still send the email? I think it's because of Fortify somehow. I've read the entire Fortify codebase but I don't see anywhere how come it sends an email.

So. The bug is fixed but I don't know why the app keeps sending the email.

@djaiss djaiss requested a review from asbiin June 4, 2021 21:46
@sonarcloud
Copy link

sonarcloud bot commented Jun 4, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@asbiin
Copy link
Contributor

asbiin commented Jun 5, 2021

This behavior is due to (or thanks to?)

... which is actually pretty nice!

Copy link
Contributor

@asbiin asbiin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

app/Services/User/CreateAccount.php Show resolved Hide resolved
@djaiss djaiss linked an issue Jun 5, 2021 that may be closed by this pull request
@djaiss djaiss merged commit ad34a24 into main Jun 5, 2021
@djaiss djaiss deleted the 2021-06-04-fix-verif-email-sent-twice branch June 5, 2021 12:46
@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2022

This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The Confirm email address email is sent twice
2 participants