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

Only send slack invite after user verifies email #360

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aewens
Copy link

@aewens aewens commented Oct 2, 2020

Description of changes

Before the slack invites were sent when the user registers their email, but now will be sent after the email is verified. This ensures only users with valid email addresses (and not parked or fake accounts) get invited to slack.

Issue Resolved

Fixes #359

@aewens
Copy link
Author

aewens commented Oct 2, 2020

I'll have the test issue fixed in a moment.

Instead of running upon the account being registered, the slack invite is sent when the email is verified. The existing test has been changed to anticipate the slack invite no longer being sent on on registration and a new test has been added to check for the test when the email has been verified.
@codeclimate
Copy link

codeclimate bot commented Oct 2, 2020

Code Climate has analyzed commit fffe6f8 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 99.4%.

View more on Code Climate.

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.

Don't send a Slack invite until after user confirms their email address
1 participant