diff --git a/www/auth/login.php b/www/auth/login.php index 3ece7b1d194bc625f1fe47777207ef326c7f16fe..92b20ae152027a1e3a273ed0917174aff8ad778d 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'); }