Pārlūkot izejas kodu

Merge branch 'develop'

master
Fabien Normand pirms 3 gadiem
vecāks
revīzija
5bd1cdf59d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      EventSubscriber/User/UserRolesEventSubscriber.php

+ 1
- 1
EventSubscriber/User/UserRolesEventSubscriber.php Parādīt failu

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

public function setUserRoles(Request $request): bool
{
if ($this->tokenStorage && $this->tokenStorage->getToken()) {
if (!$this->merchantResolver->isOutOfMerchant() && $this->tokenStorage && $this->tokenStorage->getToken()) {
$token = $this->tokenStorage->getToken();
$sessionUser = $token->getUser();


Notiek ielāde…
Atcelt
Saglabāt