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

feat: show max password length in complexity components #7810

Merged
merged 3 commits into from
May 23, 2024

Conversation

sujoysb
Copy link
Contributor

@sujoysb sujoysb commented Apr 19, 2024

Which Problems Are Solved

There is confusing ambiguity in the error messages for setting too long passwords in different places.

How the Problems Are Solved

A check for maximum password length is added so it's clear that passwords can't exceed a maximum length of 70 or 72 bytes.
Password validation now provides a live updating check mark or cross mark to indicate if the maximum length requirement is met.

Additional Changes

Clarified requirement descriptions on the registration page with complete sentences.

Additional Context

Closes #6301

Copy link

vercel bot commented Apr 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2024 8:04am

…haracters

Resolved ambiguity in error messages by adding a check for maximum password length.
Password validation now provides a live updating check mark or cross mark to indicate if the
maximum length requirement is met. Additionally, clarified requirement descriptions on the
registration page with complete sentences.

Closes zitadel#6301
Copy link
Member

@eliobischof eliobischof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @sujoysb thanks for this improvement, LGTM 🚀

We should still align the error messages and the validations, but that's something for another day :-)

Can you resolve the merge conflict, please?

If you'd like to have a small gift in return, please send us a mail to [email protected]. We will send you a form with questions about your address and shirt size.

@eliobischof eliobischof changed the title fix(*): Ensure consistent error messages for passwords exceeding 70 characters feat: show max password length in complexity components May 23, 2024
Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.18%. Comparing base (f5e9d4f) to head (dc3cb89).

Current head dc3cb89 differs from pull request most recent head de61b00

Please upload reports for the commit de61b00 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7810      +/-   ##
==========================================
- Coverage   62.18%   62.18%   -0.01%     
==========================================
  Files        1380     1380              
  Lines      111531   111531              
==========================================
- Hits        69356    69352       -4     
- Misses      38287    38290       +3     
- Partials     3888     3889       +1     
Flag Coverage Δ
core-integration-tests-postgres 62.18% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eliobischof eliobischof enabled auto-merge (squash) May 23, 2024 08:05
@eliobischof eliobischof merged commit cfa3d01 into zitadel:main May 23, 2024
25 checks passed
Copy link

🎉 This PR is included in version 2.53.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os-contribution This is a contribution from our open-source community released
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Unify error messages about password being too long
3 participants