DataObjects/Core_person.php
authorjohn <john@roojs.com>
Tue, 9 Oct 2018 06:36:20 +0000 (14:36 +0800)
committerjohn <john@roojs.com>
Tue, 9 Oct 2018 06:36:20 +0000 (14:36 +0800)
DataObjects/Core_person.php

index a1732aa..b77161a 100644 (file)
@@ -772,6 +772,9 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         // missing id for core_person mgmt
         if(!empty($q['_to_qr_code'])){
             
+            /*
+            should not update until the verify token returns...
+            
             $au = $this->getAuthUser();
             
             $o = clone($au);
@@ -781,6 +784,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
             $au->update($o);
             
             $qrcode = $au->generateQRCode();
+            */
             
             if(empty($qrcode)){
                 $roo->jerr('Fail to generate QR Code');