mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Call conf_mount_rw before delete user, a better fix for #3294
This commit is contained in:
parent
23b5b16ac6
commit
8a0ae97fa0
@ -82,7 +82,9 @@ if ($_GET['act'] == "deluser") {
|
||||
exit;
|
||||
}
|
||||
|
||||
conf_mount_rw();
|
||||
local_user_del($a_user[$id]);
|
||||
conf_mount_ro();
|
||||
$userdeleted = $a_user[$id]['name'];
|
||||
unset($a_user[$id]);
|
||||
write_config();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user