You are here

function noreqnewpass_permission in No Request New Password 7

Same name and namespace in other branches
  1. 7.2 noreqnewpass.module \noreqnewpass_permission()

Implementation of hook_permission().

File

./noreqnewpass.module, line 38

Code

function noreqnewpass_permission() {
  return array(
    'administer noreqnewpass' => array(
      'title' => t('Administer No Request New Password'),
      'description' => t('Administer No Request New Password module'),
    ),
    'can change your own password' => array(
      'title' => t('Can change your own password'),
      'description' => t('Disable this module for a certain role.'),
    ),
  );
}