diff --git a/admin/index.php b/admin/index.php
index 998bab7..1f16890 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -4,6 +4,8 @@ include "script.php";
//CAS
require_once("../phpCAS-1.3.6/CAS.php");
+$_SESSION['id']=1;
+/*
// Initialize phpCAS
phpCAS::client(CAS_VERSION_2_0, "cas.insa-toulouse.fr", 443, 'cas', true);
@@ -17,7 +19,7 @@ phpCAS::forceAuthentication();
// at this step, the user has been authenticated by the CAS server
// and the user's login name can be read with phpCAS::getUser().
-$pseudo = phpCAS::getUser();
+$pseudo = phpCAS::getUser();*/
if(!isset($_SESSION['id'])) {
$req = $db->prepare("SELECT id FROM admin WHERE pseudo = ?");
@@ -39,6 +41,7 @@ if(isset($_POST['login'])) {
session_destroy();
header('Refresh:0');
}
+
?>
@@ -67,6 +70,7 @@ if(isset($_POST['login'])) {
echo "Admin";
break;
}
+ echo "
Si l'onglet que vous recherchez n'est pas disponible, demandez avec amour et volupté une élévation d'acces à un respo web.";
} else {
?>