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

Users are only getting an error about incorrect username when submitting the registration form #1328

Open
theorm opened this issue Oct 10, 2024 · 0 comments

Comments

@theorm
Copy link
Member

theorm commented Oct 10, 2024

There is a back end error in the logs that bubbles up to the front end:

[impresso.middle-layer] _validateOne throws errors: {
[impresso.middle-layer]   username: {
[impresso.middle-layer]     code: 'NotValidRegex',
[impresso.middle-layer]     regex: '/^[a-z0-9-]+$/',
[impresso.middle-layer]     message: 'username param is not valid'
[impresso.middle-layer]   }
[impresso.middle-layer] } - item: Jo Devaquet

We need a validation on the front end that would prevent users from submitting their registration if the user name does not match the regex.

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

No branches or pull requests

1 participant