DataObjects/Core_person.php
authorjohn <john@roojs.com>
Tue, 9 Oct 2018 08:32:19 +0000 (16:32 +0800)
committerjohn <john@roojs.com>
Tue, 9 Oct 2018 08:32:19 +0000 (16:32 +0800)
DataObjects/Core_person.php

index 973e9e3..b2419a3 100644 (file)
@@ -794,6 +794,11 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
             $roo->jerr('_invalid_auth_code');
         }
         
+        if(!empty($q['oath_key_disable'])) {
+            
+            $au = $this->getAuthUser();
+        }
+        
         if (!empty($q['query']['is_owner'])) {
             $this->whereAdd(" join_company_id_id.comptype = 'OWNER'");
         }