Commit 63128e00 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3540 Fixed error handling in password recovery

parent 1c4a02a0
......@@ -171,7 +171,9 @@ class passwordRecovery {
$this->step4();
} elseif (isset($_POST['apply'])) {
$this->step2();
$this->step3();
if ($this->step == 2) { /* No errors */
$this->step3();
}
}
} elseif ($_SERVER["REQUEST_METHOD"] == "GET") {
if (isset($_GET['uniq'])) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment