Pman/Login.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 18 Nov 2010 08:38:23 +0000 (16:38 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 18 Nov 2010 08:38:23 +0000 (16:38 +0800)
Pman/Login.php

index 0f1e5c7..4b0fd12 100644 (file)
@@ -48,7 +48,7 @@ class Pman_Login extends Pman
             $u = $this->getAuthUser();
             //print_r($u);
             if ($u) {
-                $this->addEvent('LOGOUT');
+                $this->addEvent('LOGOUT', false, session_id());
                 $u->logout();
             }
             // log it..
@@ -163,7 +163,7 @@ class Pman_Login extends Pman
         
         if ($u->checkPassword($_REQUEST['password'])) {
             $u->login();
-            $this->addEvent("LOGIN");
+            $this->addEvent("LOGIN", false, session_id());
             if (!empty($_REQUEST['lang'])) {
                 $u->lang($_REQUEST['lang']);
             }