mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 00:25:06 +02:00
Merge pull request #218 from laf/issue-laf-33
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