From 7af8944314902fb63f5b7dbd05e17ff3bd1f94f5 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 7 Oct 2018 20:46:18 +0200 Subject: [PATCH] Fixed password reset redirect. --- public/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/auth.php b/public/auth.php index fe85c42e..af698865 100644 --- a/public/auth.php +++ b/public/auth.php @@ -143,7 +143,7 @@ switch ($authMode) { throw new UnexpectedValueException('Verification code invalidation failed.'); } - header('Location: /auth.php?m=login&u=' . $resetUser['username']); + header('Location: /auth.php?m=login&u=' . $resetUser['user_id']); break; }