You are here

function openid_connect_form_user_pass_alter in OpenID Connect / OAuth client 2.x

Same name and namespace in other branches
  1. 8 openid_connect.module \openid_connect_form_user_pass_alter()
  2. 7 openid_connect.module \openid_connect_form_user_pass_alter()

Implements hook_form_FORM_ID_alter().

File

./openid_connect.module, line 126
Hook implementations of the OpenID Connect module.

Code

function openid_connect_form_user_pass_alter(array &$form, FormStateInterface &$form_state) {
  $form['#validate'][] = '_openid_connect_user_pass_form_validate';
}