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

index 998da63..f532ab8 100644 (file)
@@ -228,6 +228,9 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
         if (!empty($ff->Pman['auth_comptype']) &&
             (!$this->company_id || ($ff->Pman['auth_comptype'] != $this->company()->comptype))
            ){
+            
+            die("bad auth");
+            
             $ff->page->jerr("Login not permited to outside companies");
         }
         return true;