Password character limits are important.
They reveal that the back-end service probably doesn't hash the passwords, which is a good time to GTFO.
They reveal that the back-end service probably doesn't hash the passwords, which is a good time to GTFO.
This way you can have strong input validation server side but also allow almost arbitrary inputs client side.
PS: you likely could also salt the client side hashing and use bcrypt, but bcrypt has a quite short maximum length and I am not sure if it would provide significantly better security here.
It's like they're deliberately trying to reduce the pool of valid inputs.
So I reduce the length, significantly, sometimes to 8 characters.
The people who make rules in security in some areas are complete idiots.
This i what happens with the 4 digits of a CC PIN and the 3 attempts before the card switches into PUK mode.