[geeklog-cvs] geeklog: Simply calling up /users.php already counted as a faile...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Jan 31 16:13:25 EST 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/a2526932a87f
changeset: 6736:a2526932a87f
user:      Dirk Haun <dirk at haun-online.de>
date:      Sat Jan 31 17:55:49 2009 +0100
description:
Simply calling up /users.php already counted as a failed login attempt

diffstat:

1 file changed, 3 insertions(+), 1 deletion(-)
public_html/users.php |    4 +++-

diffs (14 lines):

diff -r f81308b1a246 -r a2526932a87f public_html/users.php
--- a/public_html/users.php	Sat Jan 31 13:00:47 2009 +0100
+++ b/public_html/users.php	Sat Jan 31 17:55:49 2009 +0100
@@ -1214,7 +1214,9 @@
         }
     } else {
         // On failed login attempt, update speed limit
-        COM_updateSpeedlimit('login');
+        if (!empty($loginname) || !empty($passwd) || !empty($service)) {
+            COM_updateSpeedlimit('login');
+        }
 
         $display .= COM_siteHeader('menu');
 



More information about the geeklog-cvs mailing list