DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Thu, 22 Oct 2015 05:31:53 +0000 (13:31 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 22 Oct 2015 05:31:53 +0000 (13:31 +0800)
DataObjects/Person.php

index ee4e10f..3df425f 100644 (file)
@@ -274,6 +274,8 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
             }
             
             unset($_SESSION[get_class($this)][$sesPrefix .'-auth']);
+            unset($_SESSION[get_class($this)][$sesPrefix .'-timeout']);
+            setcookie('Pman.timeout', -1, time() + (30*60), '/');
             
         }
         if (!$this->canInitializeSystem()) {