fixed undefined variable
This commit is contained in:
parent
be00e3204f
commit
b3d06dda44
@ -79,7 +79,7 @@ class ContextListener implements ListenerInterface
|
||||
$token = $this->refreshUser($token);
|
||||
} elseif (null !== $token) {
|
||||
if (null !== $this->logger) {
|
||||
$this->logger->warn(sprintf('Session includes a "%s" where a security token is expected', is_object($value) ? get_class($value) : gettype($value)));
|
||||
$this->logger->warn(sprintf('Session includes a "%s" where a security token is expected', is_object($token) ? get_class($token) : gettype($token)));
|
||||
}
|
||||
|
||||
$token = null;
|
||||
|
Reference in New Issue
Block a user