To your firewall add anonymous: true and the WebProfiler should show
the text "anon" but in a green color.
security.config:
firewalls:
default:
form_login:
provider: doctrine
login_path: /login
check_path: /login
use_forward: true
logout: true
anonymous: true
On Dec 1, 1:20 pm, Pablo Díez <[email protected]> wrote:
> Hi,
>
> I have been trying the security component, and I have seen when you provide
> a user without roles you can log in but the security tell you the user is
> not authenticated and the webprofile toolbar shows you the use like anon.
> Should it works like that?
>
> https://github.com/fabpot/symfony/blob/master/src/Symfony/Component/S...
>
> Thanks,
> Pablo
>
> --
> *Pablo Díez | @pablodip*
> MondonGO Lead Developerhttp://mondongo.es
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en