From 3d4ff5c0bddf3c2d3dcaaa09ca96236e43af8826 Mon Sep 17 00:00:00 2001
From: Martin Haase <martin.haase@daasi.de>
Date: Thu, 23 Sep 2010 12:32:59 +0000
Subject: [PATCH] make the Lab User see Certificate (SLC) Stuff after login for
 SLC-enabled instance

git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@7259 7c539038-3410-0410-b1ec-0f2a7bf1c452
---
 .../secure/TextGrid-WebAuth.php                               | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/info.textgrid.middleware.tgauth.webauth/secure/TextGrid-WebAuth.php b/info.textgrid.middleware.tgauth.webauth/secure/TextGrid-WebAuth.php
index 428f70c..f5c6771 100644
--- a/info.textgrid.middleware.tgauth.webauth/secure/TextGrid-WebAuth.php
+++ b/info.textgrid.middleware.tgauth.webauth/secure/TextGrid-WebAuth.php
@@ -259,7 +259,9 @@ echo "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\" />\n
 echo "<meta name=\"remote_principal\" content=\"$remote_user\"/>\n";
 echo "<meta name=\"rbac_session_status\" content=\"$scstatus\"/>\n";
 echo "<meta name=\"rbac_sessionid\" content=\"$newSid\"/>\n";
-echo "<meta name=\"ePPNplusSID\" content=\"$remote_user|$newSid\"/>\n";
+if (!$slcMode) { 
+   echo "<meta name=\"ePPNplusSID\" content=\"$remote_user|$newSid\"/>\n";
+}
 echo "<style type=\"text/css\">";
 echo "#d123 {display:none;}";
 echo "</style>";
-- 
GitLab