From 865eb9b1d89d25010419693e9f3effe5f8585900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Bousqui=C3=A9?= Date: Wed, 30 Nov 2016 14:59:44 +0100 Subject: [PATCH] ajout fichiers --- admin/authentification.php | 2 +- admin/password.example.php | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 admin/password.example.php diff --git a/admin/authentification.php b/admin/authentification.php index a43f616..6dd2b31 100644 --- a/admin/authentification.php +++ b/admin/authentification.php @@ -2,7 +2,7 @@ // Formulaire d'authentification simple include_once('winlog_admin_conf.php'); // on sort immédiatement si login.php est appelé sans les paramètres attendus -if ($mod_auth !="simple") { +if ($auth_mode !="simple") { header('Location: interdit.php'); exit(); } diff --git a/admin/password.example.php b/admin/password.example.php new file mode 100644 index 0000000..e5e89ef --- /dev/null +++ b/admin/password.example.php @@ -0,0 +1,9 @@ + \ No newline at end of file