X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=PVE%2FAPI2%2FDomains.pm;h=b5fa65efc9253847ee49e73bef577c0ab9cf2bf9;hp=fff3734a5969e2a3cd17f0f772cb8bde8076c1fc;hb=98eb404f77d95b8fa449db48b6d38196b7582549;hpb=1abc2c0aeea26040cda69d40e43a7791f77e400c diff --git a/PVE/API2/Domains.pm b/PVE/API2/Domains.pm index fff3734..b5fa65e 100644 --- a/PVE/API2/Domains.pm +++ b/PVE/API2/Domains.pm @@ -40,8 +40,11 @@ __PACKAGE__->register_method ({ 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}" } ], @@ -142,9 +145,6 @@ __PACKAGE__->register_method ({ 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};