summaryrefslogtreecommitdiffstats
path: root/Http/Firewall
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2016-08-26 13:44:05 +0200
committerNicolas Grekas <nicolas.grekas@gmail.com>2016-08-26 13:57:43 +0200
commitcc1acd8d76c84b8bddbf0ad884954ba0523e5c7d (patch)
tree095ed6910d794102ac873258183b3244013fa4b2 /Http/Firewall
parentd46dc33fbe1f845398e90e36410965e8de71075c (diff)
parent66a4782ddd0539e1b4f2ae2b4058a04af5d21aab (diff)
downloadsymfony-security-cc1acd8d76c84b8bddbf0ad884954ba0523e5c7d.zip
symfony-security-cc1acd8d76c84b8bddbf0ad884954ba0523e5c7d.tar.gz
symfony-security-cc1acd8d76c84b8bddbf0ad884954ba0523e5c7d.tar.bz2
Merge branch '2.7' into 2.8v2.8.10
* 2.7: [Validator][GroupSequence] fixed GroupSequence validation ignores PropertyMetadata of parent classes [FrameworkBundle][Security] Remove useless mocks [DoctrineBridge] Enhance exception message in EntityUserProvider added friendly exception when constraint validator does not exist or it is not enabled remove duplicate instruction [FrameworkBundle] Remove TranslatorBagInterface check [FrameworkBundle] Remove duplicated code in RouterDebugCommand [Validator] fixed duplicate constraints with parent class interfaces SecurityBundle:BasicAuthenticationListener: removed a default argument on getting a header value
Diffstat (limited to 'Http/Firewall')
-rw-r--r--Http/Firewall/BasicAuthenticationListener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Firewall/BasicAuthenticationListener.php b/Http/Firewall/BasicAuthenticationListener.php
index ebe96ea..5bbf13d 100644
--- a/Http/Firewall/BasicAuthenticationListener.php
+++ b/Http/Firewall/BasicAuthenticationListener.php
@@ -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;
}