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

Validate API key length #111

Merged
merged 2 commits into from
Jun 6, 2024
Merged

Validate API key length #111

merged 2 commits into from
Jun 6, 2024

Conversation

sangaline
Copy link
Contributor

We collect an API key name during sindri login and the backend only supports a maximum length of 32. This PR adds a simple input validator for the field that displays an "API key name must 32 characters or fewer" error message and allows the user to modify the input and try again. Previously they would have gotten a fatal API error requiring them to start over and re-enter their credentials.

Connects #109

@sangaline sangaline merged commit 4a4d8d4 into main Jun 6, 2024
6 checks passed
@sangaline sangaline deleted the ews-validate-api-key-length branch June 6, 2024 13:20
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

Successfully merging this pull request may close these issues.

None yet

1 participant