]> git.proxmox.com Git - pve-access-control.git/blobdiff - PVE/Auth/PAM.pm
use new PVE::Tools::encrypt_pw, bump version to 5.0-3
[pve-access-control.git] / PVE / Auth / PAM.pm
index d8459783db452dca16f298d261a6c2cdaea6eaf3..42feba8cae9092b81ca79a2b35c69675164f2257 100755 (executable)
@@ -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;