DataObjects/Core_person.php
authorjohn <john@roojs.com>
Tue, 9 Oct 2018 07:59:49 +0000 (15:59 +0800)
committerjohn <john@roojs.com>
Tue, 9 Oct 2018 07:59:49 +0000 (15:59 +0800)
DataObjects/Core_person.php

index c910997..8792c90 100644 (file)
@@ -783,6 +783,10 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
             $roo->jok($qrcode);
         }
         
+        if(!empty($q['two_factor_auth_code'])) {
+            $this->checkTwoFactorAuthentication($q['two_factor_auth_code']);
+        }
+        
         if (!empty($q['query']['is_owner'])) {
             $this->whereAdd(" join_company_id_id.comptype = 'OWNER'");
         }