I found the following after searching around for a bit and it mostly answers my question for our 2.4.8 install:
The question I have on the above is due to seeing "line" and "lines" mentioned in the thread. For the section in question in index.php:
Does just this line need commenting:
$user = array('autologin' => get_request('autologin', 0));
Or do more lines in this section need to be commented?
I also have a 3.0.7 install that this needs to be done on. The php code in general.login.php appears to be different. What, if any, lines would need to be commented out to remove the caching and remember me check box?
The question I have on the above is due to seeing "line" and "lines" mentioned in the thread. For the section in question in index.php:
Code:
// save remember login preference
$user = array('autologin' => get_request('autologin', 0));
if (CWebUser::$data['autologin'] != $user['autologin']) {
$result = API::User()->updateProfile($user);
}
add_audit_ext(AUDIT_ACTION_LOGIN, AUDIT_RESOURCE_USER, CWebUser::$data['userid'], '', null, null, null);
$request = get_request('request');
$url = zbx_empty($request) ? CWebUser::$data['url'] : $request;
if (zbx_empty($url) || $url == $page['file']) {
$url = 'dashboard.php';
}
redirect($url);
exit();
}
$user = array('autologin' => get_request('autologin', 0));
Or do more lines in this section need to be commented?
I also have a 3.0.7 install that this needs to be done on. The php code in general.login.php appears to be different. What, if any, lines would need to be commented out to remove the caching and remember me check box?