aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth/auth_db.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2007-05-14 20:08:11 +0000
committerNils Adermann <naderman@naderman.de>2007-05-14 20:08:11 +0000
commit85881358cbab4b73bcebdbc79cee1e7adce479eb (patch)
treef9217f9ad9964ee444691a4ef424e88c5f0dd548 /phpBB/includes/auth/auth_db.php
parent46ef0be42da61625a421c72d434b2239255ede30 (diff)
downloadforums-85881358cbab4b73bcebdbc79cee1e7adce479eb.tar
forums-85881358cbab4b73bcebdbc79cee1e7adce479eb.tar.gz
forums-85881358cbab4b73bcebdbc79cee1e7adce479eb.tar.bz2
forums-85881358cbab4b73bcebdbc79cee1e7adce479eb.tar.xz
forums-85881358cbab4b73bcebdbc79cee1e7adce479eb.zip
- always use convert error message for unconverted incorrect passwords [Bug #10893]
git-svn-id: file:///svn/phpbb/trunk@7576 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/auth/auth_db.php')
-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