Fixes in add user

This commit is contained in:
absurdo 2023-11-25 11:44:46 +01:00
parent 61ae238d88
commit cc3da38aae

View file

@ -97,7 +97,7 @@ class Linux {
if($password!='') {
$hash=crypt($password, '$6$'.\str_replace('$', '\$', PhangoApp\PhaUtils\Utils::generate_random_password(10)).'$');
$hash=crypt($password, '$6$'.\str_replace('$', '\$', \PhangoApp\PhaUtils\Utils::generate_random_password(10)).'$');
$str_user.=" -p \"${hash}\"";