Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #11 from koenkivits/fix/zf3-eventmanager
Browse files Browse the repository at this point in the history
Fix shared event manager when used in ZF3
  • Loading branch information
Roel van Duijnhoven authored Dec 18, 2017
2 parents e159f15 + 7d2e341 commit c591d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function onBootstrap(EventInterface $e)

// Try to login from Cookie if applicable
$service = new CookieAuthenticationService($sm);
$service->setEventManager($em);
$service->setEventManager(new EventManager($em->getSharedManager()));
$service->loginFrom($request, $response);
}

Expand Down

0 comments on commit c591d7b

Please sign in to comment.