PVE/API2/Domains.pm: fix property description
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 11 Jan 2017 11:11:01 +0000 (12:11 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 11 Jan 2017 11:11:01 +0000 (12:11 +0100)
PVE/API2/Domains.pm

index f78acbd..b5fa65e 100644 (file)
@@ -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}" } ],