There is a typo in the field name $form['account']['current_pass_required_values']['#access'] = FALSE;. Instead of modifying the field, a new field is created with one property of ['#access'] = FALSE. Patch attached fixes it.

Comments

ShaunDychko created an issue. See original summary.

shaundychko’s picture

Status: Active » Needs review
StatusFileSize
new587 bytes
shaundychko’s picture

StatusFileSize
new572 bytes

remove debug.

shaundychko’s picture

Credit for Bellin.

chellman’s picture

Status: Needs review » Reviewed & tested by the community

Yeah, this looks right. current_pass_required_values is what the field is called when it appears.

darrellduane’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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

chellman’s picture

Version: 7.x-1.0 » 7.x-1.1

This is marked fixed, but I don't think that's right. In 7.x-1.1, the field is still $form['account']['current_pass_required_value']. That is not what's in this patch.