return {
default => { optional => 1 },
comment => { optional => 1 },
+ tfa => { optional => 1 },
};
}
my $cmd = ['usermod'];
- my $epw = PVE::Auth::Plugin::encrypt_pw($password);
+ my $epw = PVE::Tools::encrypt_pw($password);
push @$cmd, '-p', $epw, $username;