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

Parse registration field errors #50

Open
trex opened this issue Jan 28, 2020 · 2 comments
Open

Parse registration field errors #50

trex opened this issue Jan 28, 2020 · 2 comments

Comments

@trex
Copy link
Collaborator

trex commented Jan 28, 2020

Registration requires that the username, email, and password fields are all present. The authentication server also performs validation against username and email uniqueness, with the option to configure password validation rules. If these fields fail validation the authentication server returns errors.

We need to relay these to the end user so they can fix the issue on the registration form.

@kmid5280
Copy link
Contributor

Currently if you try to register a new user using a user name or email that already exists, the error will show up in the console on the back end with the specific issue. It will say for instance, "A User with email = [existing email] already exists." On the front end, you will only see a generic "something went wrong" message.

@trex
Copy link
Collaborator Author

trex commented Feb 8, 2020

This is related to #60

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

No branches or pull requests

2 participants