You are here

function openid_connect_form_user_pass_alter in OpenID Connect / OAuth client 7

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

Implements hook_form_FORM_ID_alter().

File

./openid_connect.module, line 925
A pluggable client implementation for the OpenID Connect protocol.

Code

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