diff --git a/html/includes/authenticate.inc.php b/html/includes/authenticate.inc.php index e8e15900b..e97be77bd 100644 --- a/html/includes/authenticate.inc.php +++ b/html/includes/authenticate.inc.php @@ -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']))