You are here

function gauth_user_services_edit_form_submit in Google Auth 7

Same name and namespace in other branches
  1. 7.2 gauth_user/gauth_user.admin.inc \gauth_user_services_edit_form_submit()

Submit handler for adding a new account to google auth services accounts.

File

gauth_user/gauth_user.admin.inc, line 182
Administration pages for Google Auth User Services.

Code

function gauth_user_services_edit_form_submit($form, &$form_state) {
  $id = gauth_user_services_save($form_state['values']);
  drupal_set_message(t('Services Account saved.  Click !url to configure permissions for this account', array(
    '!url' => l(t('here'), 'admin/people/permissions', array(
      'fragment' => 'module-gauth_user',
    )),
  )));
  $form_state['redirect'] = 'admin/config/services/gauth_user';
}