Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #13163: Remove limitation on password length with MD5 authentication
A new function auth_get_password_max_size was added in authentication_api.php, to return the maximum length of the password, taking the login method into consideration: limited to the database field size (PASSLEN) for PLAIN and BASIC_AUTH, or to new constant MAX_PASSWORD_SIZE for other, hash-based methods. The return value is used to define the maxlength attribute of all the password fields.
- Loading branch information
Showing
5 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters