From: Raphaël Barrois Date: Sun, 15 Jul 2012 14:26:39 +0000 (+0200) Subject: Add P3P header on authgroupex page. X-Git-Tag: xorg/1.1.6~26 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=55a43b3b3d4d5760828f06d61fb912c0a8053fe7;p=platal.git Add P3P header on authgroupex page. IE refuses to log from an iframe otherwise... Signed-off-by: Raphaël Barrois --- 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; }