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

fix(ui): enhanced email and password length constraint in basic authentication #4261

Merged

Conversation

frankzengjj
Copy link
Contributor

What changes are being made and why?

Per issue 3871, we want to add additional requirement for the length of email and password in basic authentication as the current implementation will cause a crash if input credentials are too large. This change includes:

  1. add frontend validator for restricting length of email and password to be 256.
  2. add backend check as well that verifies length constraint

How the changes have been QAed?

Verify that if email and password are too long the frontend will prevent users from signing up.

Screenshot 2024-07-07 at 6 14 04 PM

@MilosPaunovic MilosPaunovic self-assigned this Jul 8, 2024
@MilosPaunovic MilosPaunovic merged commit 333ca93 into kestra-io:develop Jul 22, 2024
6 of 7 checks passed
@MilosPaunovic
Copy link
Member

Awesome man, great job! Thanks for the contribution! 🚀

Skraye pushed a commit that referenced this pull request Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants