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

Create an account doesn't check that names are valid #2

Open
samuelroland opened this issue Dec 4, 2020 · 0 comments
Open

Create an account doesn't check that names are valid #2

samuelroland opened this issue Dec 4, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers members Concern members management (only table users)

Comments

@samuelroland
Copy link
Owner

Describe the bug
The create an account action doesn't check that names are valid.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Create an account
  2. Fill the form and include special caractères in firstname or lastname
  3. Create account and that this has not been validated and rejected.

Expected behavior
The form must contain a Regex on firstname and lastname and the creation (server-side) must fail and "invalid data" error will be displayed. Page My account has implemented this verification and it must be the same for creation (regex in html and regex in php, and use of USER_NAMES_REGEX).

Screenshots
image
image

Desktop (please complete the following information):

  • Browser: firefox
  • Version: v2.1-beta
@samuelroland samuelroland added bug Something isn't working members Concern members management (only table users) good first issue Good for newcomers labels Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers members Concern members management (only table users)
Projects
None yet
Development

No branches or pull requests

1 participant