You are here

function noreqnewpass_admin_form in No Request New Password 5

Same name and namespace in other branches
  1. 6 noreqnewpass.module \noreqnewpass_admin_form()
  2. 7.2 noreqnewpass.module \noreqnewpass_admin_form()
  3. 7 noreqnewpass.module \noreqnewpass_admin_form()

FAPI definitions for administration form

1 string reference to 'noreqnewpass_admin_form'
noreqnewpass_menu in ./noreqnewpass.module
Implementation of hook_menu().

File

./noreqnewpass.module, line 66

Code

function noreqnewpass_admin_form() {
  $form = array();
  $form['noreqnewpass_disabled'] = array(
    '#title' => t('Disable Request new password link'),
    '#type' => 'checkbox',
    '#default_value' => variable_get('noreqnewpass_disabled', true),
    '#description' => t('If checked, Request new password link will be disabled.'),
  );
  return system_settings_form($form);
}