function autologout_admin_settings_validate in Automated Logout 6.2
Same name and namespace in other branches
- 7.2 autologout.admin.inc \autologout_admin_settings_validate()
File
- ./
autologout.admin.inc, line 169 - contains all admin pages, settings, and validate.
Code
function autologout_admin_settings_validate($form, $form_state) {
if ($form_state['values']['autologout']['timeout'] < 60) {
form_set_error('autologout][timeout', t('You must specify a timeout value 60 seconds or greater'));
}
}