Closed Moc closed 3 years ago
Did you try adding "nolist" => true to the field?
@CaMer0n In e_user.php? Just tried it, but doesn't work. The field still displays in the selection.
$fields['secret_key'] = array(
'title' => LAN_PLUGIN_2FA_NAME_FULL,
'read' => e_UC_NOBODY,
'write' => e_UC_MEMBER,
'fieldType' => 'varchar(255)',
'type' => 'method',
'data' => 'str',
'required' => false,
'nolist' => true,
);
I uninstalled the plugin, cleared caches, re-installed. No change.
Does this fix it?
function settings()
{
$fields = array();
$fields['secret_key'] = array(
'title' => '_system_',
'read' => e_UC_NOBODY,
'write' => e_UC_MEMBER,
'fieldType' => 'varchar(255)',
'type' => 'method',
'data' => 'str',
'required' => false,
);
return $fields;
}
@CaMer0n How can I prevent the 2FA UEF showing up as a column to select?
It's using the e_user.php addon.