Browse Source

Merge branch 'develop'

develop
Guillaume 3 years ago
parent
commit
a9136b4959
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Resolver/UrlResolver.php

+ 1
- 1
Resolver/UrlResolver.php View File

$requestAttributes = $this->requestStack->getCurrentRequest()->attributes->all(); $requestAttributes = $this->requestStack->getCurrentRequest()->attributes->all();
$route = isset($requestAttributes['_route']) ? $requestAttributes['_route'] : false; $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…
Cancel
Save