From ca693ba18253f90029d587d663c9420589950a27 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:31:32 +0100 Subject: [PATCH] Bugfix reset --- reset.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/reset.php b/reset.php index 26bd709..838b3d1 100644 --- a/reset.php +++ b/reset.php @@ -91,10 +91,11 @@ if (isset($_POST['resetkey']) && $_POST['resetkey'] !='' && $_POST['password_upd } $username_err = 'You will be redirected'; } - } else { - $username_err = 'Passwords do not match'; - $reset_id_valid = 1; - } + else { + $username_err = 'Passwords do not match'; + $reset_id_valid = 1; + } + } }