]> git.proxmox.com Git - pmg-api.git/commitdiff
add 'allow-subdomains' to webauthn schema
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 25 Jul 2022 12:18:31 +0000 (14:18 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 25 Jul 2022 12:18:31 +0000 (14:18 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PMG/API2/TFAConfig.pm

index 4d8faf05c430d51cfc4ef03940d1390b6bc36d39..c3887fed56faa5312a49b0b2b72f4d22ff4dedfb 100644 (file)
@@ -40,6 +40,13 @@ my $wa_config_schema = {
                "Relying part ID. Must be the domain name without protocol, port or location.\n"
                .'Changing this *will* break existing credentials.',
        },
+       'allow-subdomains' => {
+           type => 'boolean',
+           description =>
+               'Whether to allow the origin to be a subdomain, rather than the exact URL.',
+           optional => 1,
+           default => 1,
+       },
     },
 };