From e80d184f3e25518ef7ca6f800cc45fff2ceb9db4 Mon Sep 17 00:00:00 2001 From: absurdo Date: Sat, 25 Nov 2023 11:20:59 +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 651a607..cf28cce 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}\"";