mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -42,6 +42,8 @@ if (isset($_POST['username']) && isset($_POST['password'])) {
|
||||
} elseif (isset($_GET['username']) && isset($_GET['password'])) {
|
||||
$_SESSION['username'] = clean($_GET['username']);
|
||||
$_SESSION['password'] = $_GET['password'];
|
||||
} elseif (isset($_SERVER['REMOTE_USER'])) {
|
||||
$_SESSION['username'] = $_SERVER['REMOTE_USER'];
|
||||
}
|
||||
|
||||
if (!isset($config['auth_mechanism'])) {
|
||||
|
Reference in New Issue
Block a user