diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2010-10-15 18:54:44 +0200 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2010-10-15 19:00:14 +0200 |
| commit | 0452da2bf1f93dc8d9ea5c73f1276a5976eaca7d (patch) | |
| tree | 58f5f327ec2dc76d9f3bfa9a9e776de00fd798c6 /phpBB/includes/constants.php | |
| parent | b8f37a5024c3fbda51c76f3990e6dd2059892837 (diff) | |
| download | forums-0452da2bf1f93dc8d9ea5c73f1276a5976eaca7d.tar forums-0452da2bf1f93dc8d9ea5c73f1276a5976eaca7d.tar.gz forums-0452da2bf1f93dc8d9ea5c73f1276a5976eaca7d.tar.bz2 forums-0452da2bf1f93dc8d9ea5c73f1276a5976eaca7d.tar.xz forums-0452da2bf1f93dc8d9ea5c73f1276a5976eaca7d.zip | |
[ticket/7538] Limit user_login_attempts to prevent SQL errors.
PHPBB3-7538
Diffstat (limited to 'phpBB/includes/constants.php')
| -rw-r--r-- | phpBB/includes/constants.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index ff572869e2..ebaa342f54 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -69,6 +69,10 @@ define('LOGIN_ERROR_ATTEMPTS', 13); define('LOGIN_ERROR_EXTERNAL_AUTH', 14); define('LOGIN_ERROR_PASSWORD_CONVERT', 15); +// Maximum login attempts +// The value is arbitrary, but it has to fit into the user_login_attempts field. +define('LOGIN_ATTEMPTS_MAX', 100); + // Group settings define('GROUP_OPEN', 0); define('GROUP_CLOSED', 1); |
