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

Wrong variable name for password

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1109 44740490-163a-0410-bde0-09ae8108e29a
parent 5ea3b39c
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ if (isset($_POST['username'])) { ...@@ -96,7 +96,7 @@ if (isset($_POST['username'])) {
/* /*
* Do LDAP bind using DN. * Do LDAP bind using DN.
*/ */
if (($pwd == "") or (!$ldap->bind($dn, $pwd))) { if (($password == "") or (!$ldap->bind($dn, $password))) {
SimpleSAML_Logger::info('AUTH - ldap: '. $username . ' failed to authenticate. DN=' . $dn); SimpleSAML_Logger::info('AUTH - ldap: '. $username . ' failed to authenticate. DN=' . $dn);
throw new Exception('error_wrongpassword'); throw new Exception('error_wrongpassword');
} }
......
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