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