DataObjects/Core_person.php
authorjohn <john@roojs.com>
Thu, 11 Oct 2018 05:06:19 +0000 (13:06 +0800)
committerjohn <john@roojs.com>
Thu, 11 Oct 2018 05:06:19 +0000 (13:06 +0800)
DataObjects/Core_person.php

index 30ee568..f2f2982 100644 (file)
@@ -674,6 +674,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         $aur['oath_key'] = '';
         
         $aur['oath_key_enable'] = !empty($this->oath_key);
+        $aur['require_oath'] = 1;
         
         $s = DB_DataObject::Factory('core_setting');
         $oath_require = $s->lookup('core', 'two_factor_authentication_requirement');