diff options
author | Marcus Proest | 2019-03-28 11:02:23 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-28 11:02:23 +0100 |
commit | acfbb51740fde2ac895948625d3f2ef9ebbc72b3 (patch) | |
tree | 75218973aa2ad666eeb7537dec6117f07b0b2f80 | |
parent | [pam.php] Helper for bwIDM PAM login (diff) | |
download | bwlp-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.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |