Need hack on Log-in Time?

Tagged:  

The log-in screen give a check box to stay logged in for 14 days which is too long in my book. I found the php line to get it to display the word for 2 days but cannot find the php code to get the system to actually follow that 2 day rule. Could someone please let me know which folder, file, and line number the code is on to change it from 14 to another number?

Thanks.

Fix these 2 files

language/en_us/general.php

'remember me' => 'Remember me for 14 days',

init.php

define('REMEMBER_LOGIN_LIFETIME', 1209600); // two weeks

Note:
1209600 = 14 days * 24 hours * 60 minutes * 60 seconds
2 days would be 2 * 24 * 60 * 60 = 172800

To see how the values are used, look here:

application/models/CompanyWebSite.php

function setLoggedUser(User $user, $remember = false, $set_last_activity_time = true) {

Configuration option present to set time.