From bfeeca3c049495fe5aed54e3a7d1f0c287136387 Mon Sep 17 00:00:00 2001 From: absurdo Date: Sat, 25 Nov 2023 11:30:53 +0100 Subject: [PATCH] Fixes in add user --- vendor/phangoapp/leviathanutils/src/Linux.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/phangoapp/leviathanutils/src/Linux.php b/vendor/phangoapp/leviathanutils/src/Linux.php index cf28cce..dc18146 100644 --- a/vendor/phangoapp/leviathanutils/src/Linux.php +++ b/vendor/phangoapp/leviathanutils/src/Linux.php @@ -97,7 +97,7 @@ class Linux { if($password!='') { - $hash=crypt($password, '$6$rounds=6000$'.\PhangoApp\PhaUtils\Utils\generate_random_password(10).'$'); + $hash=crypt($password, '$6$rounds=6000$'.\PhangoApp\PhaUtils\Utils::generate_random_password(10).'$'); $str_user.=" -p \"${hash}\"";