From 41c3baaa6a831dedf7e2aa25e58b348c5070d252 Mon Sep 17 00:00:00 2001 From: laf Date: Thu, 1 May 2014 14:08:13 +0100 Subject: [PATCH] Restore _GET login ability --- html/includes/authenticate.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/includes/authenticate.inc.php b/html/includes/authenticate.inc.php index e8e15900b2..e97be77bde 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']))