We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2e1c0f commit 2eea81fCopy full SHA for 2eea81f
src/Auth/Source/Negotiate.php
@@ -139,7 +139,7 @@ public function authenticate(array &$state): void
139
}
140
141
Logger::debug('Negotiate - authenticate(): looking for authentication header');
142
- if (!empty($_SERVER['HTTP_AUTHORIZATION'])) {
+ if (array_key_exists('HTTP_AUTHORIZATION', $_SERVER) && !empty($_SERVER['HTTP_AUTHORIZATION'])) {
143
Logger::debug('Negotiate - authenticate(): Authentication header found');
144
145
Assert::true(is_string($this->spn) || (is_int($this->spn) && ($this->spn === 0)) || is_null($this->spn));
0 commit comments