瀏覽代碼

Merge branch 'develop'

develop
Guillaume 3 年之前
父節點
當前提交
a9136b4959
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      Resolver/UrlResolver.php

+ 1
- 1
Resolver/UrlResolver.php 查看文件

@@ -43,7 +43,7 @@ class UrlResolver
$requestAttributes = $this->requestStack->getCurrentRequest()->attributes->all();
$route = isset($requestAttributes['_route']) ? $requestAttributes['_route'] : false;

return $route && ($route == 'easyadmin' || strpos($route, 'admin_') !== false) ;
return $route && (in_array($route, ['sov_login', 'sov_logout']) || strpos($route, 'admin_') !== false) ;
}

}

Loading…
取消
儲存