Aggiorna 'manager.php'
This commit is contained in:
13
manager.php
13
manager.php
@@ -19,18 +19,11 @@ and open the template in the editor.
|
||||
<body>
|
||||
|
||||
<?php
|
||||
require '/sda1/www/idp.runpolito.ml/vendor/autoload.php';
|
||||
require_once '/sda1/www/idp.runpolito.ml/lib/_autoload.php';
|
||||
require '/percorso/simplesamlphp/library/vendor/autoload.php';
|
||||
require_once '/percorso/simplesamlphp/library/lib/_autoload.php';
|
||||
require 'lib/r4fb.php';
|
||||
//require 'lib/sns.php';
|
||||
//session_start();
|
||||
$auth = new \SimpleSAML\Auth\Simple('runpolito-sp');
|
||||
|
||||
/*if (!$auth->isAuthenticated()) {
|
||||
SimpleSAML_Session::getSessionFromRequest()->cleanup();
|
||||
// Show login link.
|
||||
print('<a href="/login">Login</a>');
|
||||
}*/
|
||||
$auth = new \SimpleSAML\Auth\Simple('nomeSP');
|
||||
|
||||
//Auth livello 1:
|
||||
$auth->requireAuth();
|
||||
|
||||
Reference in New Issue
Block a user