Permalink
Browse files

Merge branch '2.2'

  • Loading branch information...
kmadejski committed Sep 12, 2018
2 parents 1a746c7 + 361537c commit dbfc160165a21d1ac8a8f2b48442958e17874f8a
Showing with 3 additions and 0 deletions.
  1. +3 −0 EventListener/Login.php
View
@@ -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());
}

0 comments on commit dbfc160

Please sign in to comment.