1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

[ticket/7538] Limit user_login_attempts to prevent SQL errors.

PHPBB3-7538
This commit is contained in:
Andreas Fischer
2010-10-15 18:54:44 +02:00
parent b8f37a5024
commit 0452da2bf1
2 changed files with 8 additions and 2 deletions

View File

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