Skip to content

Commit

Permalink
Merge branch '2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
kmadejski committed Sep 12, 2018
2 parents 1a746c7 + 361537c commit dbfc160
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions EventListener/Login.php
Expand Up @@ -83,6 +83,9 @@ public function onSecurityInteractiveLogin(InteractiveLoginEvent $event)
}

if (!$event->getRequest()->cookies->has('yc-session-id')) {
if (!$this->session->isStarted()) {
$this->session->start();
}
$event->getRequest()->cookies->set('yc-session-id', $this->session->getId());
}

Expand Down

0 comments on commit dbfc160

Please sign in to comment.