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