I using bcrypt to create a password hash and in the php documentation it says
Caution: Using the PASSWORD_BCRYPT for the algo parameter, will result in the password parameter being truncated to a maximum length of 72 characters.
If I allow users to type more than 72 characters it's like I fooling them because they not using the passsword that they think that they use. So my question is do I need to set maximum length or not