since libpve-cluster-perl 6.0-8 this happens automatically when parsing the datacenter.cfg, just like the other property strings stored there.
Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com> --- Notes: needs a dependency on libpve-cluster-perl (as well) requires a (versioned) depends on libpve-cluster-perl PVE/API2/AccessControl.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/PVE/API2/AccessControl.pm b/PVE/API2/AccessControl.pm index 4873e4e..194233a 100644 --- a/PVE/API2/AccessControl.pm +++ b/PVE/API2/AccessControl.pm @@ -390,7 +390,6 @@ sub get_u2f_config() { my $dc = cfs_read_file('datacenter.cfg'); my $u2f = $dc->{u2f}; die "u2f not configured in datacenter.cfg\n" if !$u2f; - $u2f = PVE::JSONSchema::parse_property_string($PVE::DataCenterConfig::u2f_format, $u2f); return $u2f; } -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel