From 512f11d01b3a1c3b94e030091f047596f05639b2 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 10 Aug 2012 04:49:07 -0400 Subject: [PATCH] - Fixed: FS#2292 - monitor_tools.inc.php uses /var/vmail and not the mail directory specified in server config - Changed code comment in login/index.php file. --- interface/web/login/index.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/login/index.php b/interface/web/login/index.php index 101442a..65b2362 100644 --- a/interface/web/login/index.php +++ b/interface/web/login/index.php @@ -111,7 +111,7 @@ //* Check if there are already wrong logins $sql = "SELECT * FROM `attempts_login` WHERE `ip`= '{$ip}' AND `login_time` > (NOW() - INTERVAL 1 MINUTE) LIMIT 1"; $alreadyfailed = $app->db->queryOneRecord($sql); - //* login to much wrong + //* too many failedlogins if($alreadyfailed['times'] > 5) { $error = $app->lng('error_user_too_many_logins'); } else { -- Gitblit v1.9.1