mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove extra / to avoid having a double slash in the directory name. Also add curly braces around $user_home.
This commit is contained in:
parent
0fa7902eb1
commit
461df7c07a
@ -234,7 +234,7 @@ function local_user_set(& $user) {
|
||||
$home_base = "/home/";
|
||||
$user_uid = $user['uid'];
|
||||
$user_name = $user['name'];
|
||||
$user_home = "{$home_base}/$user_name";
|
||||
$user_home = "{$home_base}{$user_name}";
|
||||
$user_shell = "/etc/rc.initial";
|
||||
$user_group = "nobody";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user