Browse Source

Correctif deprecié

packProduct
Fabien Normand 3 years ago
parent
commit
c19dcb25a2
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