function cas_login_validate in CAS 6.2
Same name and namespace in other branches
- 6.3 cas.module \cas_login_validate()
Login form _validate hook
1 string reference to 'cas_login_validate'
- cas_form_alter in ./
cas.module - implementation of hook_form_alter Overrides specific from settings based on user policy.
File
- ./
cas.module, line 1196
Code
function cas_login_validate($form, &$form_state) {
if ($form_state['values']['persistent_login'] == 1) {
$_SESSION['cas_remember'] = 1;
}
$_REQUEST['destination'] = 'cas';
drupal_redirect_form($form, 'cas');
}