From 2c7ef5f5c0f3bf60a003acbf6c0ae91230193412 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 28 Apr 2007 14:11:18 +0000 Subject: 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 --- phpBB/includes/auth/auth_db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/auth/auth_db.php') 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', ''); -- cgit v1.2.1