From f1ebe3d506f5826b0099a21cb82c52bf5dfaa9a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Pe=CC=81rez=20Crespo?= <jaime.perez@uninett.no>
Date: Wed, 21 Feb 2018 10:12:35 +0100
Subject: [PATCH] Require admin authentication to access admin page.

---
 www/admin/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/admin/index.php b/www/admin/index.php
index a1f9558e1..65dc1e5dc 100644
--- a/www/admin/index.php
+++ b/www/admin/index.php
@@ -7,7 +7,7 @@ $config = SimpleSAML_Configuration::getInstance();
 $session = SimpleSAML_Session::getSessionFromRequest();
 
 // Check if valid local session exists..
-//SimpleSAML\Utils\Auth::requireAdmin();
+SimpleSAML\Utils\Auth::requireAdmin();
 
 $adminpages = array(
     'hostnames.php' => 'Diagnostics on hostname, port and protocol',
-- 
GitLab