Skip to content

Add input validation for Activation Code and Document Number#310

Closed
tvdijen wants to merge 1 commit intoOpenConext:developfrom
tvdijen:feature/input-validation
Closed

Add input validation for Activation Code and Document Number#310
tvdijen wants to merge 1 commit intoOpenConext:developfrom
tvdijen:feature/input-validation

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