function openid_login_validate in Drupal 7
Same name and namespace in other branches
- 6 modules/openid/openid.module \openid_login_validate()
Login form _validate hook
1 string reference to 'openid_login_validate'
- _openid_user_login_form_alter in modules/
openid/ openid.module
File
- modules/
openid/ openid.module, line 242 - Implement OpenID Relying Party support for Drupal
Code
function openid_login_validate($form, &$form_state) {
$return_to = $form_state['values']['openid.return_to'];
if (empty($return_to)) {
$return_to = url('', array(
'absolute' => TRUE,
));
}
openid_begin($form_state['values']['openid_identifier'], $return_to, $form_state['values']);
}