You are here

function password_policy_menu in Password Policy 7.2

Same name and namespace in other branches
  1. 5 password_policy.module \password_policy_menu()
  2. 6 password_policy.module \password_policy_menu()
  3. 7 password_policy.module \password_policy_menu()

Implements hook_menu().

File

./password_policy.module, line 11
Enforces password policies.

Code

function password_policy_menu() {
  $items['password_policy/check'] = array(
    'page callback' => 'password_policy_ajax_check',
    // Open callback allows anonymous users' passwords to be checked.
    // This may be needed when an anonymous user is setting a password on the
    // user registration form.
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}