diff --git a/api.php b/api.php index afb8de6..86da9b6 100644 --- a/api.php +++ b/api.php @@ -38,14 +38,16 @@ switch($endpoint){ case 'auth': - try{ + /*try{ $_SESSION["utilisateur_authentifie"] = true; session_regenerate_id(true); $_SESSION["heure_debut"] = time(); echo(json_encode(["status"=>"1","msg"=>"Authentification réussie."])); }catch(Exception $e){ echo( json_encode(["status"=> "0","msg"=> $e->getMessage() ]) ); - } + }*/ + echo( json_encode(["status"=> "0","msg"=> "Authentification par api pas encore active."])); + break; case 'unauth': diff --git a/css/index.css b/css/index.css index 6b557ba..dffadb8 100644 --- a/css/index.css +++ b/css/index.css @@ -89,6 +89,7 @@ border-top: 0px; border-left: 0px; border-right: 0px; + } .color-red-tr{ diff --git a/index.php b/index.php index 5c2dc55..6f1815f 100644 --- a/index.php +++ b/index.php @@ -24,9 +24,10 @@