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

Register With New Organization with Existing User Email #976

Closed
aarontitus opened this issue Sep 21, 2020 · 1 comment
Closed

Register With New Organization with Existing User Email #976

aarontitus opened this issue Sep 21, 2020 · 1 comment

Comments

@aarontitus
Copy link
Member

Describe the bug
It is possible to register a new organization where the primary contact is an existing user. This should throw an error and not be possible.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://app.staging.crisiscleanup.io/register
  2. Register a new organization where the primary contact's email belongs to an existing user.
  3. Bug: Submit, which does not throw an error.

Expected behavior
The form should throw an error:
"A user with {email} already exists and belongs to {org_name}. If you have forgotten your password, please reset it by clicking 'Forgot Password' on the Login screen."

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@aarontitus aarontitus added this to the 3.1 milestone Sep 21, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.57. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Crisis Cleanup 3.0 - Top 25 Priority Tasks automation moved this from To do to Review Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

2 participants