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

Add input validation for Activation Code and Document Number #310

Closed
wants to merge 1 commit into from

Conversation

tvdijen
Copy link
Contributor

@tvdijen tvdijen commented Jan 4, 2024

This PR:

  • Restricts document numbers to 6 characters, being A-Z, 0-9 or a hyphen
  • Restricts activation codes to 8 characters, being A-Z or 0-9

Debatable:

  • This makes the input of a document number mandatory to be able to send the form. A single - is accepted in case a document number isn't of any interest to the RA(A).

Related: OpenConext/Stepup-Middleware#415

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

Successfully merging this pull request may close these issues.

2 participants