]> git.proxmox.com Git - pve-access-control.git/blobdiff - src/PVE/CLI/pveum.pm
drop assert_new_tfa_config_available for Proxmox VE 8
[pve-access-control.git] / src / PVE / CLI / pveum.pm
index 9e64709776836d105b31d36d0af4c7c509ad39f9..d6351622f8e06a1d24d62abf5baff95056ab46b2 100755 (executable)
@@ -135,8 +135,6 @@ __PACKAGE__->register_method({
        my $userid = extract_param($param, "userid");
        my $tfa_id = extract_param($param, "id");
 
-       PVE::AccessControl::assert_new_tfa_config_available();
-
        PVE::AccessControl::lock_tfa_config(sub {
            my $tfa_cfg = cfs_read_file('priv/tfa.cfg');
            if (defined($tfa_id)) {
@@ -166,8 +164,6 @@ __PACKAGE__->register_method({
 
        my $userid = extract_param($param, "userid");
 
-       PVE::AccessControl::assert_new_tfa_config_available();
-
        my sub format_tfa_entries : prototype($;$) {
            my ($entries, $indent) = @_;