summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Proest2019-03-28 11:02:23 +0100
committerSimon Rettberg2019-03-28 11:02:23 +0100
commitacfbb51740fde2ac895948625d3f2ef9ebbc72b3 (patch)
tree75218973aa2ad666eeb7537dec6117f07b0b2f80
parent[pam.php] Helper for bwIDM PAM login (diff)
downloadbwlp-webadmin-acfbb51740fde2ac895948625d3f2ef9ebbc72b3.tar.gz
bwlp-webadmin-acfbb51740fde2ac895948625d3f2ef9ebbc72b3.tar.xz
bwlp-webadmin-acfbb51740fde2ac895948625d3f2ef9ebbc72b3.zip
index.php: Add shibboleth debug output for admins
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 3b8250a..11ddcc3 100644
--- a/index.php
+++ b/index.php
@@ -124,6 +124,10 @@ Render::addTemplate('footer');
if (defined('CONFIG_DEBUG') && CONFIG_DEBUG) {
Message::addWarning('!! Debug-Modus aktiv !!');
+ if(User::isAdmin()) {
+ Message::addWarning(User::getShibId());
+ Message::addWarning('<pre>'.print_r($_SERVER, true).'</pre>');
+ }
}
// Send page to client.