I would like to show the Symfony profiler bar (and access to profiler) only for page admins (ROLE_SUPER_ADMIN).
I have following this instructions: http://symfony.com/doc/2.8/cookbook/profiler/matchers.html#creating-a-custom-matcher
But there does not work. I get this error message:
AuthenticationCredentialsNotFoundException in classes.php line 2892:
The token storage contains no authentication token. One possible reason may be that there is no firewall configured for this URL.
Can anybody help me, or know this error message?
Thanks for all replies in future!