Closed (fixed)
Project:
Clear saved password field
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2011 at 21:09 UTC
Updated:
15 Mar 2012 at 01:10 UTC
Hi - nice module, thanks!!
Just to let you know that I needed to add the following as I am using the above module.
/**
* Implementation of hook_form_FORM_ID_alter() for user_register.
*/
function clear_password_field_form_password_policy_password_tab_alter(&$form, &$form_state) {
if (variable_get('clear_password_field', 1) == 1) {
drupal_add_js(drupal_get_path('module', 'clear_password_field') . '/clear_password_field_edit.js');
}
}
Cheers,
Crom
Comments
Comment #1
vkareh commentedAdded this functionality.