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



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

Loading…
Cancel
Save