Skip to content
Snippets Groups Projects
Commit 9dc13ea7 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fixed wrong variable name in logging

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@344 44740490-163a-0410-bde0-09ae8108e29a
parent dc27f58e
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ if (isset($_POST['username'])) { ...@@ -81,7 +81,7 @@ if (isset($_POST['username'])) {
* Do LDAP bind using DN found from the the dnpattern * Do LDAP bind using DN found from the the dnpattern
*/ */
if (!$ldap->bind($dn, $password)) { 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'); throw new Exception('Wrong username or password');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment