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

Exception when try to login with a not validated account #500

Closed
macabeus opened this issue Oct 14, 2020 · 0 comments
Closed

Exception when try to login with a not validated account #500

macabeus opened this issue Oct 14, 2020 · 0 comments
Assignees
Labels
type: bug 🐛 Something isn't working
Milestone

Comments

@macabeus
Copy link
Contributor

Describe the bug
When I try to login on an account that wasn't validated the e-mail yet, an exception is launched:

image

Expected behavior
We should extend the AuthenticationResult union to include a specific NotVerifiedError

Environment (please complete the following information):

  • @vendure/core version: 0.16.0
  • Nodejs version: 12.18.4
  • Database (mysql/postgres etc): postgres

Additional context
https://vendure-ecommerce.slack.com/archives/CKYMF0ZTJ/p1602686730253400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants