Yep, I tell when you have users without roles.
users:
pablodip: { password: pablodip }
With this configuration you can log in but the security token instance tells
you the user is not authenticated (because it does not have roles). Then the
debug toolbar also shows the user like an anonymous user when you are log in
with a real user.
On Wed, Dec 1, 2010 at 2:34 PM, Henrik Bjornskov <[email protected]> wrote:
> 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]<symfony-devs%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>
--
*Pablo Díez | @pablodip*
MondonGO Lead Developer
http://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