tfa => {
description => "Two-factor authentication provider.",
type => 'string',
- enum => [ 'yubico' ],
+ enum => [ 'yubico', 'oath' ],
optional => 1,
},
comment => { type => 'string', optional => 1 },
my $realm = extract_param($param, 'realm');
- die "unable to modify bultin domain '$realm'\n"
- if ($realm eq 'pam' || $realm eq 'pve');
-
die "domain '$realm' does not exist\n"
if !$ids->{$realm};