diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-28 14:11:18 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-28 14:11:18 +0000 |
| commit | 2c7ef5f5c0f3bf60a003acbf6c0ae91230193412 (patch) | |
| tree | 5e8d7eccede5e2da21ef867e2fd25f5d1f664cd1 /phpBB/includes/auth/auth_db.php | |
| parent | 7c01f242b350982a6d4a0d08f8a2b81a4d45f450 (diff) | |
| download | forums-2c7ef5f5c0f3bf60a003acbf6c0ae91230193412.tar forums-2c7ef5f5c0f3bf60a003acbf6c0ae91230193412.tar.gz forums-2c7ef5f5c0f3bf60a003acbf6c0ae91230193412.tar.bz2 forums-2c7ef5f5c0f3bf60a003acbf6c0ae91230193412.tar.xz forums-2c7ef5f5c0f3bf60a003acbf6c0ae91230193412.zip | |
timezone box + shortening pm options variable as well as max login attempts fix.
git-svn-id: file:///svn/phpbb/trunk@7419 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/auth/auth_db.php')
| -rw-r--r-- | phpBB/includes/auth/auth_db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/auth/auth_db.php b/phpBB/includes/auth/auth_db.php index ff073c1fb7..e0df8cdc92 100644 --- a/phpBB/includes/auth/auth_db.php +++ b/phpBB/includes/auth/auth_db.php @@ -38,7 +38,7 @@ function login_db(&$username, &$password) // If there are too much login attempts, we need to check for an confirm image // Every auth module is able to define what to do by itself... - if ($config['max_login_attempts'] && $row['user_login_attempts'] > $config['max_login_attempts']) + if ($config['max_login_attempts'] && $row['user_login_attempts'] >= $config['max_login_attempts']) { $confirm_id = request_var('confirm_id', ''); $confirm_code = request_var('confirm_code', ''); |
