MantisBT: master-1.2.x 4664aebf

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2011-07-21 06:46 master-1.2.x 9fae933e
Affected Issues  0013163: Remove limitation on password length with MD5 authentication
Changeset

Fix 0013163: 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.

mod - account_page.php Diff File
mod - core/authentication_api.php Diff File
mod - core/constant_inc.php Diff File
mod - login_page.php Diff File
mod - manage_user_create_page.php Diff File