mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
added exit after redirect
This commit is contained in:
@ -110,6 +110,7 @@ if ((isset($_SESSION['username'])) || (isset($_COOKIE['sess_id'],$_COOKIE['token
|
||||
$permissions = permissions_cache($_SESSION['user_id']);
|
||||
if (isset($_POST['username'])) {
|
||||
header('Location: '.$_SERVER['REQUEST_URI'],TRUE,303);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
elseif (isset($_SESSION['username']))
|
||||
|
Reference in New Issue
Block a user