mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix redirect back to user mgmt when editing user 0. Fixes #8920
(cherry picked from commit e2f60597df)
This commit is contained in:
parent
8b70d0fbaf
commit
cc175f70bb
@ -525,7 +525,7 @@ if ($_POST['save']) {
|
||||
write_config();
|
||||
}
|
||||
|
||||
if ($userid && !$input_errors) {
|
||||
if ((isset($userid) && is_numeric($userid)) && !$input_errors) {
|
||||
post_redirect("system_usermanager.php", array('act' => 'edit', 'userid' => $userid));
|
||||
exit;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user