Hacker News new | ask | show | jobs
by throw0101a 1933 days ago
> You would be surprised how many websites cut everything after 24/32 digits during registration without notice, but suddenly allow more digits in the login form, leading to login issues.

The input type="password" element allows for passing information to browsers / password managers what the limitations:

* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/in...

maxlength, minlength, pattern ("A regular expression the value must match in order to be valid").