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