diff --git a/modules/negotiate/lib/Auth/Source/Negotiate.php b/modules/negotiate/lib/Auth/Source/Negotiate.php index 0103d54392dd6fca3e740ae1bc3af9071acaeef8..ed90e1728a881b65226244af9ad2a6646c4431b4 100644 --- a/modules/negotiate/lib/Auth/Source/Negotiate.php +++ b/modules/negotiate/lib/Auth/Source/Negotiate.php @@ -333,7 +333,7 @@ EOF; if (!$this->ldap->bind($this->admin_user, $this->admin_pw)) { $msg = 'Unable to authenticate system user (LDAP_INVALID_CREDENTIALS) '.var_export($this->admin_user, true); SimpleSAML_Logger::error('Negotiate - authenticate(): '.$msg); - throw new SimpleSAML_Error_AuthSource($msg); + throw new SimpleSAML_Error_AuthSource('negotiate', $msg); } }