mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Restore _GET login ability
This commit is contained in:
@@ -45,6 +45,9 @@ if ($vars['page'] == "logout" && $_SESSION['authenticated'])
|
||||
if (isset($_POST['username']) && isset($_POST['password'])) {
|
||||
$_SESSION['username'] = mres($_POST['username']);
|
||||
$_SESSION['password'] = $_POST['password'];
|
||||
} elseif(isset($_GET['username']) && isset($_GET['password'])) {
|
||||
$_SESSION['username'] = mres($_GET['username']);
|
||||
$_SESSION['password'] = $_GET['password'];
|
||||
}
|
||||
|
||||
if (!isset($config['auth_mechanism']))
|
||||
|
||||
Reference in New Issue
Block a user