1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

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
This commit is contained in:
Meik Sievertsen
2007-04-28 14:11:18 +00:00
parent 7c01f242b3
commit 2c7ef5f5c0
5 changed files with 7 additions and 7 deletions

View File

@@ -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', '');