From d11f3d0bcde5259061ac2cd19b9d7072987848dd Mon Sep 17 00:00:00 2001 From: acydburn Date: Thu, 18 Sep 2008 14:50:50 +0000 Subject: [PATCH] Reset login attempts on new password activation. Prevents "first failed login attempt" on converted boards. Bug #19965 git-svn-id: http://code.phpbb.com/svn/phpbb/trunk@8882 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/ucp/ucp_activate.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/includes/ucp/ucp_activate.php b/phpBB/includes/ucp/ucp_activate.php index 9589b6928..5db9fd5bd 100644 --- a/phpBB/includes/ucp/ucp_activate.php +++ b/phpBB/includes/ucp/ucp_activate.php @@ -64,6 +64,7 @@ class ucp_activate 'user_password' => $user_row['user_newpasswd'], 'user_newpasswd' => '', 'user_pass_convert' => 0, + 'user_login_attempts' => 0, ); $sql = 'UPDATE ' . USERS_TABLE . ' -- 2.11.4.GIT