Skip to content

Commit

Permalink
fix: password reset
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite committed May 26, 2024
1 parent 6741c1e commit 4836d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passwordreset.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
$passwordsMismatch = false;
$hideForm = false;

if (isset($_POST['email']) && $_POST['email'] != "" && isset($_GET['submit']) && $_GET['submit'] && !(isset($_GET['token']))) {
if (isset($_POST['email']) && $_POST['email'] != "" && isset($_GET['submit']) && $_GET['submit'] && !(isset($_GET['token'])) && !(isset($_POST['token']))) {
$requestMode = true;
$resetMode = false;
$email = $_POST['email'];
Expand Down

0 comments on commit 4836d0d

Please sign in to comment.