mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Reset $userent - it gets set somewhere and grants users full priviledges
after creation
This commit is contained in:
parent
0fb5206f46
commit
8ef95644a3
@ -125,6 +125,7 @@ if (isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER'])) {
|
||||
}
|
||||
|
||||
if (!$input_errors) {
|
||||
$userent = "";
|
||||
if (isset($id) && $a_user[$id])
|
||||
$userent = $a_user[$id];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user