function shib_auth_form_alter in Shibboleth Authentication 6
Same name and namespace in other branches
- 8 shib_auth.module \shib_auth_form_alter()
- 5.3 shib_auth.module \shib_auth_form_alter()
- 5.2 shib_auth.module \shib_auth_form_alter()
- 6.4 shib_auth.module \shib_auth_form_alter()
- 6.2 shib_auth.module \shib_auth_form_alter()
- 6.3 shib_auth.module \shib_auth_form_alter()
- 7.4 shib_auth.module \shib_auth_form_alter()
Alters forms for the shibboleth authentication module.
Parameters
$form_id The form ID.:
$form The form.:
File
- ./
shib_auth.module, line 241
Code
function shib_auth_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'user_login') {
$form['shibboleth'] = array(
'#type' => 'hidden',
'#weight' => -1,
'#prefix' => generate_login_text(),
'#suffix' => '',
);
}
}