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

index 3f1efec..973e9e3 100644 (file)
@@ -788,10 +788,10 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         if(!empty($q['two_factor_auth_code'])) {
             
             if($this->checkTwoFactorAuthentication($q['two_factor_auth_code'])) {
-                $this->jok('DONE');
+                $roo->jok('DONE');
             }
             
-            $this->jerr('_invalid_auth_code');
+            $roo->jerr('_invalid_auth_code');
         }
         
         if (!empty($q['query']['is_owner'])) {