浏览代码

Merge branch 'develop'

master
Guillaume 3 年前
父节点
当前提交
f266dfb4d0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      EventSubscriber/User/UserRolesEventSubscriber.php

+ 1
- 1
EventSubscriber/User/UserRolesEventSubscriber.php 查看文件

@@ -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();


正在加载...
取消
保存