You are here

function password_policy_expired_unblock_confirm in Password Policy 6

Same name and namespace in other branches
  1. 7 password_policy.module \password_policy_expired_unblock_confirm()

Confirm unblocking the expired account.

1 string reference to 'password_policy_expired_unblock_confirm'
password_policy_menu in ./password_policy.module
Implements hook_menu().

File

./password_policy.module, line 688
The password policy module allows you to enforce a specific level of password complexity for the user passwords on the system.

Code

function password_policy_expired_unblock_confirm($form, $account) {
  return confirm_form(array(
    'account' => array(
      '#type' => 'value',
      '#value' => $account,
    ),
  ), t('Are you sure you would like to unblock the user %user?', array(
    '%user' => $account->name,
  )), 'admin/user/expired', t('This action cannot be undone.'), t('Unblock user'), t('Cancel'));
}