Sfoglia il codice sorgente

Correctif deprecié

packProduct
Fabien Normand 3 anni fa
parent
commit
c19dcb25a2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      EventSubscriber/User/UserRolesEventSubscriber.php

+ 1
- 1
EventSubscriber/User/UserRolesEventSubscriber.php Vedi 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…
Annulla
Salva