[geeklog-hg] geeklog: Fixed a bug where auth.inc.php didn't trap login speed ...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Tue Jan 14 06:36:31 EST 2014


changeset 9426:fcb504ac8d4d
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/fcb504ac8d4d
user: Kenji ITO <mystralkk at gmail.com>
date: Tue Jan 14 11:03:23 2014 +0900
description:
Fixed a bug where auth.inc.php didn't trap login speed limit correctly in Admin pages (bug #0001652)

diffstat:

 public_html/admin/auth.inc.php         |  2 +-
 public_html/webservices/atom/index.php |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 0d6168099f85 -r fcb504ac8d4d public_html/admin/auth.inc.php
--- a/public_html/admin/auth.inc.php	Mon Jan 13 22:52:16 2014 +0900
+++ b/public_html/admin/auth.inc.php	Tue Jan 14 11:03:23 2014 +0900
@@ -39,7 +39,7 @@
 // MAIN
 COM_clearSpeedlimit($_CONF['login_speedlimit'], 'login');
 if (COM_checkSpeedlimit('login', $_CONF['login_attempts']) > 0) {
-    COM_displayMessageAndAbort($LANG04[112], '', 403, 'Access denied');
+    COM_displayMessageAndAbort(82, '', 403, 'Access denied');
 }
 
 $uid = '';
diff -r 0d6168099f85 -r fcb504ac8d4d public_html/webservices/atom/index.php
--- a/public_html/webservices/atom/index.php	Mon Jan 13 22:52:16 2014 +0900
+++ b/public_html/webservices/atom/index.php	Tue Jan 14 11:03:23 2014 +0900
@@ -35,7 +35,7 @@
 /* Check if WS component is enabled */
 if ($_CONF['disable_webservices']) {
     /* Pretend the WS doesn't exist */
-    COM_displayMessageAndAbort($LANG_404[3], '', 404, 'Not Found');
+    COM_displayMessageAndAbort(79, '', 404, 'Not Found');
 }
 
 // Set the default content type



More information about the geeklog-cvs mailing list