summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Strojny <lars.strojny@internations.org>2014-04-27 11:03:19 +0200
committerLars Strojny <lars.strojny@internations.org>2014-04-27 11:38:05 +0200
commitd3550c44704157be641f35afc7c3f800ecfa9175 (patch)
treee3130dd12d3a60949ba7b807ebd836676c149fdc
parentbf15ba6fe71ae1040e209cee8a769672eb2e03bb (diff)
downloadsymfony-security-d3550c44704157be641f35afc7c3f800ecfa9175.zip
symfony-security-d3550c44704157be641f35afc7c3f800ecfa9175.tar.gz
symfony-security-d3550c44704157be641f35afc7c3f800ecfa9175.tar.bz2
Allow overloading ContextListener::refreshUser()
-rw-r--r--Http/Firewall/ContextListener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Firewall/ContextListener.php b/Http/Firewall/ContextListener.php
index 435c440..e61907e 100644
--- a/Http/Firewall/ContextListener.php
+++ b/Http/Firewall/ContextListener.php
@@ -142,7 +142,7 @@ class ContextListener implements ListenerInterface
*
* @throws \RuntimeException
*/
- private function refreshUser(TokenInterface $token)
+ protected function refreshUser(TokenInterface $token)
{
$user = $token->getUser();
if (!$user instanceof UserInterface) {