enum => [ 'yubico', 'oath' ],
optional => 1,
},
- comment => { type => 'string', optional => 1 },
- comment => { type => 'string', optional => 1 },
+ comment => {
+ description => "A comment. The GUI use this text when you select a domain (Realm) on the login window.",
+ type => 'string',
+ optional => 1,
+ },
},
},
links => [ { rel => 'child', href => "{realm}" } ],
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};