From af4b67b1f14b7ccb199aef6a04aeeae68f70d320 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 1 Jun 2010 05:46:35 +0000
Subject: [PATCH] Logout-IFrame: Reduce timeout to 5 seconds.

The 10-second timeout is too long. Reduce it to 5 seconds instead.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2333 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/core/www/idp/logout-iframe.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/core/www/idp/logout-iframe.php b/modules/core/www/idp/logout-iframe.php
index e4942b8d3..9d00cfb0e 100644
--- a/modules/core/www/idp/logout-iframe.php
+++ b/modules/core/www/idp/logout-iframe.php
@@ -17,7 +17,7 @@ if (isset($_REQUEST['type'])) {
 if (isset($_REQUEST['timeout'])) {
 	$timeout = (int)$_REQUEST['timeout'];
 } else {
-	$timeout = time() + 10;
+	$timeout = time() + 5;
 }
 
 if ($type !== 'embed' && $type !== 'async') {
-- 
GitLab