function samlauth_form_user_login_form_alter in SAML Authentication 8
Same name and namespace in other branches
- 8.3 samlauth.module \samlauth_form_user_login_form_alter()
- 8.2 samlauth.module \samlauth_form_user_login_form_alter()
- 4.x samlauth.module \samlauth_form_user_login_form_alter()
Implements hook_form_FORM_ID_alter().
File
- ./
samlauth.module, line 67 - Contains samlauth.module.
Code
function samlauth_form_user_login_form_alter(&$form, FormStateInterface $form_state) {
$form['#validate'][] = 'samlauth_check_saml_user';
}