Permalink
Browse files

Update src/Symfony/Bundle/FrameworkBundle/EventListener/TestSessionLi…

…stener.php
  • Loading branch information...
1 parent 223d187 commit 3ef377b6c3e55ade74c8cccab7b3e1232d558cc4 @guilhermeblanco guilhermeblanco committed May 30, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Symfony/Bundle/FrameworkBundle/EventListener/TestSessionListener.php
@@ -52,6 +52,8 @@ public function onKernelRequest(GetResponseEvent $event)
if ($cookies->has($session->getName())) {
$session->setId($cookies->get($session->getName()));
+ } else {
+ $session->migrate(false);
}
}

0 comments on commit 3ef377b

Please sign in to comment.