X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=PVE%2FAuth%2FPAM.pm;h=42feba8cae9092b81ca79a2b35c69675164f2257;hp=d8459783db452dca16f298d261a6c2cdaea6eaf3;hb=36dd9dbdb3e9e470f1787a5e98d5ba0a64ef9bbc;hpb=96f8ebd62506bc7126d58400004101ef6a13ca71 diff --git a/PVE/Auth/PAM.pm b/PVE/Auth/PAM.pm index d845978..42feba8 100755 --- a/PVE/Auth/PAM.pm +++ b/PVE/Auth/PAM.pm @@ -66,7 +66,7 @@ sub store_password { my $cmd = ['usermod']; - my $epw = PVE::Auth::Plugin::encrypt_pw($password); + my $epw = PVE::Tools::encrypt_pw($password); push @$cmd, '-p', $epw, $username;