Hi,
I've got the same problem, my token is null, and my security is:
 main:
          pattern: .*
          form_login:
              check_path: /login_check
              login_path: /login
          logout: true
          security: true
          anonymous: true

As Dennis says security, and anonymous is set to true

Any help thanks

2011/4/8 Dennis Jacobfeuerborn <djacobfeuerb...@gmail.com>

> Since you disabled security for the main firewall you'll not get a token on
> any matching pages.
> You have to set both security and anonymous to true for the main firewall.
>
> Regards,
>   Dennis
>
>  --
> 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 users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Álvaro, Senior Web Developer

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to