From acfbb51740fde2ac895948625d3f2ef9ebbc72b3 Mon Sep 17 00:00:00 2001 From: Marcus Proest Date: Thu, 28 Mar 2019 11:02:23 +0100 Subject: index.php: Add shibboleth debug output for admins --- index.php | 4 ++++ 1 file changed, 4 insertions(+) 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('
'.print_r($_SERVER, true).''); + } } // Send page to client. -- cgit v1.2.3-55-g7522