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

/account/activate: prohibit repeated special characters #454

Closed
php-coder opened this issue Aug 24, 2016 · 0 comments
Closed

/account/activate: prohibit repeated special characters #454

php-coder opened this issue Aug 24, 2016 · 0 comments
Assignees
Milestone

Comments

@php-coder
Copy link
Owner

When user specify its login during account activation we should validate this login and prohibit the repetition of the following characters:

  • hyphens (example: te--st)
  • underscores (example: te__st)
  • dots (example: te..st)

What should be done:

  • Add integration tests
  • Add validation (probably, single @Pattern will be enough)

(Extracted from #403)

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