From 4bb69ef69721c8521eea0420353b44758d7a7e7a Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Thu, 26 May 2011 21:50:27 +0000 Subject: [PATCH] fix password git-svn-id: http://www.observium.org/svn/observer/trunk@2374 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/authenticate.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/includes/authenticate.inc.php b/html/includes/authenticate.inc.php index 61a449fd3..9fab0f72d 100644 --- a/html/includes/authenticate.inc.php +++ b/html/includes/authenticate.inc.php @@ -34,13 +34,13 @@ if (isset($_GET['logout']) && $_SESSION['authenticated']) if (isset($_GET['username']) && isset($_GET['password'])) { $_SESSION['username'] = mres($_GET['username']); - $_SESSION['password'] = mres($_GET['password']); + $_SESSION['password'] = $_GET['password']; } elseif (isset($_POST['username']) && isset($_POST['password'])) { $_SESSION['username'] = mres($_POST['username']); - $_SESSION['password'] = mres($_POST['password']); + $_SESSION['password'] = $_POST['password']; } elseif (isset($_COOKIE['username']) && isset($_COOKIE['password'])) { $_SESSION['username'] = mres($_COOKIE['username']); - $_SESSION['password'] = mres($_COOKIE['password']); + $_SESSION['password'] = $_COOKIE['password']; } if (!isset($config['auth_mechanism']))