function password_policy_permission in Password Policy 7
Same name and namespace in other branches
- 7.2 password_policy.module \password_policy_permission()
Implements hook_permission().
File
- ./
password_policy.module, line 47 - Allows enforcing restrictions on user passwords by defining policies.
Code
function password_policy_permission() {
return array(
'administer password policies' => array(
'title' => t('Administer policies'),
),
'unblock expired accounts' => array(
'title' => t('Unlock expired accounts'),
),
'force password change' => array(
'title' => t('Force password change'),
),
);
}