diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-09-18 14:50:11 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-09-18 14:50:11 +0000 |
commit | c246231f053569ff28caf3ab3b4e2b162b2b516f (patch) | |
tree | b0c3820c16e6b3ff6fc8c87bd03448db01dd6256 | |
parent | 69a8e33d4867f6415103f789be785f9657c58133 (diff) | |
download | forums-c246231f053569ff28caf3ab3b4e2b162b2b516f.tar forums-c246231f053569ff28caf3ab3b4e2b162b2b516f.tar.gz forums-c246231f053569ff28caf3ab3b4e2b162b2b516f.tar.bz2 forums-c246231f053569ff28caf3ab3b4e2b162b2b516f.tar.xz forums-c246231f053569ff28caf3ab3b4e2b162b2b516f.zip |
Reset login attempts on new password activation. Prevents "first failed login attempt" on converted boards. Bug #19965
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8881 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/ucp/ucp_activate.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_activate.php b/phpBB/includes/ucp/ucp_activate.php index 355c9898c2..7de2511423 100644 --- a/phpBB/includes/ucp/ucp_activate.php +++ b/phpBB/includes/ucp/ucp_activate.php @@ -65,6 +65,7 @@ class ucp_activate 'user_password' => $user_row['user_newpasswd'], 'user_newpasswd' => '', 'user_pass_convert' => 0, + 'user_login_attempts' => 0, ); $sql = 'UPDATE ' . USERS_TABLE . ' |