Anonymous token even if logged in in public pages
问题 I'm having some trouble setting my security. I want a page to be accessible both by anonymous and by logged in members. I want it to show different content depending on the situation (in fact, i want to still be logged in as a member when i go on it). The page I want to give public access is ^/profile. I set my security.yml like that : jms_security_extra: secure_all_services: false expressions: true security: encoders: Symfony\Component\Security\Core\User\User: plaintext FOS\UserBundle\Model