From 2ffed7cca7c4ed97c152f59ea274599800016fdf Mon Sep 17 00:00:00 2001 From: absurdo Date: Sat, 25 Nov 2023 11:16:38 +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 aa1c950..651a607 100644 --- a/vendor/phangoapp/leviathanutils/src/Linux.php +++ b/vendor/phangoapp/leviathanutils/src/Linux.php @@ -91,7 +91,7 @@ class Linux { } - static public function add_new_user($user, $password='', $user_directory='', $shell='/usr/sbin/nologin') { + static public function add_new_user($username, $password='', $user_directory='', $shell='/usr/sbin/nologin') { $str_user="sudo useradd -m -s ${shell} ${username}";