SecurityBundle:BasicAuthenticationListener: removed a default argument on getting a header value

it's unnecessary.
This commit is contained in:
Dawid Nowak 2016-08-01 17:57:55 +02:00
parent 45dac4b44e
commit d67f090003
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class BasicAuthenticationListener implements ListenerInterface
{
$request = $event->getRequest();
if (false === $username = $request->headers->get('PHP_AUTH_USER', false)) {
if (null === $username = $request->headers->get('PHP_AUTH_USER')) {
return;
}