You are here

function password_strength_elements in Password Strength 6

Same name and namespace in other branches
  1. 5 password_strength.module \password_strength_elements()

Implementation of hook_elements

File

./password_strength.module, line 170
Server side checks for newly submittted passwords

Code

function password_strength_elements() {

  // Override the default password_confirm processor
  $type['password_confirm'] = array(
    '#input' => TRUE,
    '#process' => array(
      'password_strength_expand_password_confirm',
    ),
  );
  return $type;
}