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

Server valid email regex checker more strict than front end checkers #1047

Open
fergie-nz opened this issue Jun 6, 2023 · 1 comment
Open

Comments

@fergie-nz
Copy link
Contributor

Conforma server currently checks if emails are valid with a regex expression which can be more strict than front end checks.

In the create internal user workflow (angola snapshot, and possibly other cases), it will fail quietly with certain email addresses when attempting to create a new account.

The form will appear to be processed but will not create a new user as no valid emails are found.

Easiest fix in this case is probably to update the regex expression in the front end also, however this is liable to happen elsewhere when these expressions are changed.

I am thinking best outcome is more loudly failing when email is invalid.

@CarlosNZ
Copy link
Collaborator

CarlosNZ commented Jun 6, 2023

Where is this in the Server? I don't remember there being any additional checks.

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

2 participants