You are here

function samlauth_form_user_pass_alter in SAML Authentication 8.3

Same name and namespace in other branches
  1. 7 samlauth.module \samlauth_form_user_pass_alter()
  2. 4.x samlauth.module \samlauth_form_user_pass_alter()

Implements hook_form_FORM_ID_alter() for the password reset form.

File

./samlauth.module, line 86
Allows users to authenticate against an external SAML identity provider.

Code

function samlauth_form_user_pass_alter(&$form, FormStateInterface $form_state) {
  $form['#validate'][] = 'samlauth_check_saml_user';
}