mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02: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