mirror of
https://github.com/webmin/webmin.git
synced 2026-06-23 04:20:32 +01:00
Fix an error use of uninitialized value $user in concatenation
This commit is contained in:
@@ -1953,6 +1953,7 @@ return 1 if ($found >= 0); # Already setup
|
||||
|
||||
# Grant access to the user and path
|
||||
&lock_file(&get_miniserv_config_file());
|
||||
$user ||= '';
|
||||
push(@anon, "$path=$user");
|
||||
$miniserv->{'anonymous'} = join(" ", @anon);
|
||||
&put_miniserv_config($miniserv);
|
||||
|
||||
Reference in New Issue
Block a user