Browse Source

Merge branch 'develop'

master
Fabien Normand 3 years ago
parent
commit
ab28d933f8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      EventSubscriber/User/UserRolesEventSubscriber.php

+ 1
- 1
EventSubscriber/User/UserRolesEventSubscriber.php View File

@@ -46,7 +46,7 @@ class UserRolesEventSubscriber implements EventSubscriberInterface

public function setUserRolesFromKernelRequest(RequestEvent $event)
{
if (!$event->isMasterRequest()) {
if (!$event->isMainRequest()) {
return;
}
if ($this->setUserRoles($event->getRequest())) {

Loading…
Cancel
Save