mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-21 21:02:02 +01:00
let the cookie expire after 3 hours
This commit is contained in:
parent
50cee38d83
commit
67277ed3e8
@ -72,6 +72,7 @@
|
||||
*/
|
||||
function auth($auth_type='Config')
|
||||
{
|
||||
#phpinfo();
|
||||
$remoteip = $_SERVER['REMOTE_ADDR'];
|
||||
|
||||
$FormLogout = get_var('FormLogout', array('GET','POST'));
|
||||
@ -101,7 +102,7 @@
|
||||
6. None of the above
|
||||
*/
|
||||
|
||||
$expire = time() + 1200; /* Expire login if idle for 20 minutes. */
|
||||
$expire = time() + (1200*9); /* Expire login if idle for 20 minutes. */
|
||||
|
||||
if(!empty($HeaderLogin) && $auth_type == 'Header')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user