MantisBT: master-2.7 82653e23

Author Committer Branch Timestamp Parent
dregad dregad master-2.7 2017-10-20 02:02 master e92139ff
Affected Issues  0023507: Users can't change their password when it is blank
Changeset

Allow password reset when it is blank

Commit f4137abe0c6e28ffd5a82fbe455b40d598109a25 added HTML5 'required'
attribute to mandatory fields, including the Current Password on Edit
Account page.

Since the password can be blank (e.g. when $g_enable_email_notification
is OFF), this prevents the users from resetting their password.

This removes the mandatory attribute when the password is blank.

Fixes 0023507

mod - account_page.php Diff File