aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/auth/auth_db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/auth/auth_db.php b/phpBB/includes/auth/auth_db.php
index e0df8cdc92..6df378b00a 100644
--- a/phpBB/includes/auth/auth_db.php
+++ b/phpBB/includes/auth/auth_db.php
@@ -126,7 +126,7 @@ function login_db(&$username, &$password)
$row['user_pass_convert'] = 0;
$row['user_password'] = md5($password_new_format);
}
- else if (preg_match('/[\x80-\xFF]/', $password_old_format))
+ else
{
// Although we weren't able to convert this password we have to
// increase login attempt count to make sure this cannot be exploited