You are here

function bakery_profile_pull_form in Bakery Single Sign-On System 7.4

Form for admins to pull accounts.

1 string reference to 'bakery_profile_pull_form'
bakery_profile_menu in ./bakery_profile.module
Implements hook_menu().

File

./bakery_profile.module, line 375

Code

function bakery_profile_pull_form($form, &$form_state) {
  $form['or_email'] = array(
    '#type' => 'radios',
    '#options' => array(
      0 => t('Username'),
      1 => t('Username or email'),
    ),
    '#default_value' => 0,
  );
  $form['name'] = array(
    '#type' => 'textfield',
    '#required' => TRUE,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Request account'),
  );
  return $form;
}