From 78a165d10353aacc4859dbd46ad897c2940f9385 Mon Sep 17 00:00:00 2001
From: Esenjin
Date: Fri, 14 Feb 2025 20:59:17 +0100
Subject: [PATCH] ajout d'une page de profil
permet de changer son ID ainsi que son MDP
---
admin/index.php | 1 +
admin/login.php | 2 +-
admin/profile.php | 131 ++++++++++++++++++++++++++++++++++++++++++++
includes/auth.php | 12 ++++
includes/config.php | 13 +++++
5 files changed, 158 insertions(+), 1 deletion(-)
create mode 100644 admin/profile.php
diff --git a/admin/index.php b/admin/index.php
index 798b9cd..23aa3a4 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -23,6 +23,7 @@ $stories = Stories::getAll();
+
+ Modifier le profil
+
+
+ = htmlspecialchars($success) ?>
+
+
+
+ = htmlspecialchars($error) ?>
+
+
+
+
+