thomascube
2006-09-08 7139e33e6c7dcd206e166416e7b5742bc3849cb9
program/include/main.inc
@@ -185,7 +185,7 @@
  // renew auth cookie every 5 minutes (only for GET requests)
  if (!$valid || ($_SERVER['REQUEST_METHOD']!='POST' && $now-$_SESSION['auth_time'] > 300))
    {
     $_SESSION['last_auth'] = $_SESSION['auth_time'];
    $_SESSION['last_auth'] = $_SESSION['auth_time'];
    $_SESSION['auth_time'] = $now;
    setcookie('sessauth', rcmail_auth_hash(session_id(), $now));
    }