DataObjects/Core_person.php
authorjohn <john@roojs.com>
Wed, 10 Oct 2018 03:56:40 +0000 (11:56 +0800)
committerjohn <john@roojs.com>
Wed, 10 Oct 2018 03:56:40 +0000 (11:56 +0800)
DataObjects/Core_person.php

index 91d07ab..a087542 100644 (file)
@@ -1453,9 +1453,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         
         $base32 = new Base32();
         
-        $this->oath_key = $base32->base32_encode($hex);
-        
-        return $this->oath_key;
+        return $base32->base32_encode($hex);
     }
     
     function generateQRCode()