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; + } + } }