Browse Source

[Éligibilité] Correctif tunnel

packProduct
Guillaume 3 years ago
parent
commit
3c678534c7
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 setUserRoles(Request $request): bool 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(); $token = $this->tokenStorage->getToken();
$sessionUser = $token->getUser(); $sessionUser = $token->getUser();



Loading…
Cancel
Save