mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Do not include _token in legacy vars (#14313)
This commit is contained in:
@@ -10,5 +10,5 @@ foreach ($_POST as $name => $value) {
|
||||
$vars[$name] = ($value);
|
||||
}
|
||||
|
||||
// don't leak login data
|
||||
unset($vars['username'], $vars['password'], $uri, $base_url);
|
||||
// don't leak login and other data
|
||||
unset($vars['username'], $vars['password'], $vars['_token']);
|
||||
|
||||
Reference in New Issue
Block a user