Hi,
I hide the password field fron non-admins. In D7 I still get a field "Current Password" visible.
I get Password and Confirm password for admin.

Comments

sw3b’s picture

same for me !

FNGR’s picture

same here!

filsterjisah’s picture

StatusFileSize
new854 bytes

This current password field is used for when a user changes some fields in his own account: I think e-mail and password. Because the form is loading as anonymous user, this field is never included in the admin settings.

Please try attached patch.

filsterjisah’s picture

StatusFileSize
new854 bytes

Fixed typo user_Load()

filsterjisah’s picture

StatusFileSize
new833 bytes

and removed dpm() .... third time ftw

deekayen’s picture

Status: Active » Needs review

This wasn't marked to need review, so it got missed.

rdrh555’s picture

Status: Needs review » Reviewed & tested by the community

Confirmed "Current Password" field still visible/enabled when configured to be hidden (using "pass" in admin settings). Only the "pass" field is available in admin settings prior to patch. After applying patch #5 current_pass_required_values & current_pass available in admin settings. Configuring current_pass allows disabling/hiding of "Current Password" field for non-admin users.

  • deekayen committed 591fe12 on 7.x-1.x authored by filsterjisah
    Issue #1356844 by filsterjisah, SangersDrupalDude, sw3b, FNGR, deekayen...
deekayen’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.