SecurityBundle:BasicAuthenticationListener: removed a default argument on getting a header value
it's unnecessary.
This commit is contained in:
parent
45dac4b44e
commit
d67f090003
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user