DataObjects/Core_person.php
[Pman.Core] / DataObjects / Core_person.php
index 0c559aa..295d8a8 100644 (file)
@@ -549,7 +549,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
     function genAutoLoginURL($url, $expires = false)  
     {
         $expires = $expires  === false ? strtotime("NOW + 1 WEEK") : $expires;
-        echo hash('sha256', serialize(array($url, $time, $this->email, $this->passwd)));
+        echo hash('sha256', serialize(array($url, $expires, $this->email, $this->passwd)));
         
         return $url.'/'.$this->id .'/'.$expires.'/'.
             hash('sha256',