From 9dc13ea781e5589c91ca234557d518f181f55816 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Tue, 4 Mar 2008 06:49:36 +0000
Subject: [PATCH] Fixed wrong variable name in logging

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@344 44740490-163a-0410-bde0-09ae8108e29a
---
 www/auth/login.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/auth/login.php b/www/auth/login.php
index 3ece7b1d1..92b20ae15 100644
--- a/www/auth/login.php
+++ b/www/auth/login.php
@@ -81,7 +81,7 @@ if (isset($_POST['username'])) {
 		 * Do LDAP bind using DN found from the the dnpattern
 		 */
 		if (!$ldap->bind($dn, $password)) {
-			SimpleSAML_Logger::info('AUTH - ldap: '. $requestedUser . ' failed to authenticate. DN=' . $dn);
+			SimpleSAML_Logger::info('AUTH - ldap: '. $username . ' failed to authenticate. DN=' . $dn);
 			throw new Exception('Wrong username or password');
 		}
 
-- 
GitLab