From c69ae90a40ce84b0185a33e89e29da26a6d72ba1 Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Sat, 17 Sep 2022 10:51:54 +0000 Subject: [PATCH] Password resest progress --- account.php | 28 ++++++++++- app/account/password_reset.php | 91 ++++++++++++++++++++++------------ 2 files changed, 87 insertions(+), 32 deletions(-) diff --git a/account.php b/account.php index 8cb05a5..7c08391 100644 --- a/account.php +++ b/account.php @@ -153,7 +153,7 @@ - + + - + - + + + is_admin($conn, $_SESSION["id"])) { + $user_id = $_POST['id']; + } elseif (empty($_POST['id'])) { + $user_id = $_SESSION["id"]; + } else { + ?> - - - + + + + - +