Skip to content
Snippets Groups Projects
Unverified Commit f1ebe3d5 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Require admin authentication to access admin page.

parent c87771c9
No related branches found
No related tags found
No related merge requests found
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment