function cas_login_form in CAS 5.4
Same name and namespace in other branches
- 5.3 cas.module \cas_login_form()
- 6.2 cas.module \cas_login_form()
1 string reference to 'cas_login_form'
- cas_block in ./
cas.module - Provides login blog that only shows up when the user logs in.
File
- ./
cas.module, line 812
Code
function cas_login_form() {
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Log in via CAS'),
);
if (module_exists('persistent_login') && variable_get('cas_allow_rememberme', 0)) {
$form['remember'] = array(
'#type' => 'checkbox',
'#title' => t('Remember me'),
'#default_value' => 0,
);
}
return $form;
}