$aur['oath_key_enable'] = !empty($this->oath_key);
$s = DB_DataObject::Factory('core_setting');
- $aur['disable_oath'] = empty($s->lookup('core', 'two_factor_authentication')) ? 1 : 0;
+ $aur['disable_oath'] = empty($s->lookup('core', 'two_factor_authentication')) ? 0 : 1;
return $aur;
}