Skip to content
Snippets Groups Projects
Commit 96099a81 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix missing argument

This fixes:
[Tue Feb 16 13:50:09 2016] [error] [client 10.48.224.4] PHP Warning:  Missing argument 2 for SimpleSAML_Error_AuthSource::__construct(), called in /apps/simplesamlphp-bd-1.14.0/modules/negotiate/lib/Auth/Source/Negotiate.php on line 336 
[Tue Feb 16 13:50:09 2016] [error] [client 10.48.224.4] PHP Notice:  Undefined variable: reason in /apps/simplesamlphp-bd-1.14.0/lib/SimpleSAML/Error/AuthSource.php(31)
parent 69f67dc3
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
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