From 6943fbba890a3ad3f315cf64f97901f88419036c Mon Sep 17 00:00:00 2001 From: LukeWCS Date: Tue, 9 Apr 2024 19:06:09 +0200 Subject: [PATCH] [ticket/17302] Fix password reset function Password reset function does not update all necessary data PHPBB3-17302 --- phpBB/phpbb/ucp/controller/reset_password.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/phpbb/ucp/controller/reset_password.php b/phpBB/phpbb/ucp/controller/reset_password.php index 007258094b..442de50ec7 100644 --- a/phpBB/phpbb/ucp/controller/reset_password.php +++ b/phpBB/phpbb/ucp/controller/reset_password.php @@ -407,6 +407,7 @@ class reset_password { $sql_ary = [ 'user_password' => $this->passwords_manager->hash($data['new_password']), + 'user_passchg' => time(), 'user_login_attempts' => 0, 'reset_token' => '', 'reset_token_expiration' => 0,