Skip to content

Commit d87f163

Browse files
committed
SecurityBundle:BasicAuthenticationListener: removed a default argument on getting a header value
it's unnecessary.
1 parent 67326f4 commit d87f163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firewall/BasicAuthenticationListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function handle(GetResponseEvent $event)
5656
{
5757
$request = $event->getRequest();
5858

59-
if (false === $username = $request->headers->get('PHP_AUTH_USER', false)) {
59+
if (null === $username = $request->headers->get('PHP_AUTH_USER')) {
6060
return;
6161
}
6262

0 commit comments

Comments
 (0)