From 55a43b3b3d4d5760828f06d61fb912c0a8053fe7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Sun, 15 Jul 2012 16:26:39 +0200 Subject: [PATCH] Add P3P header on authgroupex page. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit IE refuses to log from an iframe otherwise... Signed-off-by: Raphaël Barrois --- modules/auth.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/auth.php b/modules/auth.php index e222eeb..53250d6 100644 --- a/modules/auth.php +++ b/modules/auth.php @@ -134,6 +134,8 @@ class AuthModule extends PLModule } else { $page->assign('group', null); } + // Add a P3P header for compatibility with IE in iFrames (http://www.w3.org/TR/P3P11/#compact_policies) + header('P3P: CP="CAO COR CURa ADMa DEVa OUR IND PHY ONL COM NAV DEM CNT STA PRE"'); return PL_DO_AUTH; } -- 2.1.4