mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-06 18:22:49 +02: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')
|
function auth($auth_type='Config')
|
||||||
{
|
{
|
||||||
|
#phpinfo();
|
||||||
$remoteip = $_SERVER['REMOTE_ADDR'];
|
$remoteip = $_SERVER['REMOTE_ADDR'];
|
||||||
|
|
||||||
$FormLogout = get_var('FormLogout', array('GET','POST'));
|
$FormLogout = get_var('FormLogout', array('GET','POST'));
|
||||||
@ -101,7 +102,7 @@
|
|||||||
6. None of the above
|
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')
|
if(!empty($HeaderLogin) && $auth_type == 'Header')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user