DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Wed, 17 Jul 2013 11:30:04 +0000 (19:30 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 17 Jul 2013 11:30:04 +0000 (19:30 +0800)
DataObjects/Person.php

index bcd602b..ce59ee8 100644 (file)
@@ -358,7 +358,9 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
     function login()
     {
         $this->isAuth(); // force session start..
-        $this->verifyAuth();
+        if (!$this->verifyAuth()) {
+            return false;
+        }
         $db = $this->getDatabaseConnection();