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

index ce6861f..5097574 100644 (file)
@@ -668,7 +668,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         
         $aur['passwd'] = '';
         $aur['dailykey'] = '';
-        $aur['oath_key'] = '';
+        $aur['oath_key'] = empty($this->oath_key);
         
         
         return $aur;