So that we can set tfa, comment, default with the GUI.
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};
sub write_config {
my ($class, $filename, $cfg) = @_;
- delete $cfg->{ids}->{pve};
- delete $cfg->{ids}->{pam};
-
foreach my $realm (keys %{$cfg->{ids}}) {
my $data = $cfg->{ids}->{$realm};
if ($data->{comment}) {
* dedend on oathtool
* depend on libmime-base32-perl
+
+ * allow to write builtin auth domains config (comment/tfa/default)
-- Proxmox Support Team <support@proxmox.com> Thu, 17 Jul 2014 13:09:56 +0200