From 4614040bc6339b10661557eb808341982b669171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Fri, 22 Mar 2024 15:26:47 +0100 Subject: [PATCH] Improved reset password function --- reset.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reset.php b/reset.php index 6061e54..26bd709 100644 --- a/reset.php +++ b/reset.php @@ -89,7 +89,11 @@ if (isset($_POST['resetkey']) && $_POST['resetkey'] !='' && $_POST['password_upd header("Refresh:2; url=index.php"); } } + $username_err = 'You will be redirected'; } + } else { + $username_err = 'Passwords do not match'; + $reset_id_valid = 1; }