[geeklog-hg] geeklog: Fixed incorrect cookie name for the password (bug #0001...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Thu Jul 10 19:42:14 EDT 2014


changeset 9534:18fa292b41d3
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/18fa292b41d3
user: Tom
date: Thu Jul 10 19:21:36 2014 -0400
description:
Fixed incorrect cookie name for the password (bug #0001770)

diffstat:

 public_html/users.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r fe16e661bea3 -r 18fa292b41d3 public_html/users.php
--- a/public_html/users.php	Thu Jul 10 19:18:19 2014 -0400
+++ b/public_html/users.php	Thu Jul 10 19:21:36 2014 -0400
@@ -941,7 +941,7 @@
         PLG_loginUser ($_USER['uid']);
 
         // Now that we handled session cookies, handle longterm cookie
-        if (!isset($_COOKIE[$_CONF['cookie_name']]) || !isset($_COOKIE['password'])) {
+        if (!isset($_COOKIE[$_CONF['cookie_name']]) || !isset($_COOKIE['cookie_password'])) {
             // Either their cookie expired or they are new
             $cooktime = COM_getUserCookieTimeout();
             if ($VERBOSE) {



More information about the geeklog-cvs mailing list