Hi Armaury, I'm currently having a couple of problems with security myself, so im not sure if I can answer your whole question. One thing i noticed though - you should submit your form to /security_check directly rather than to your /login controller then doing a redirect. The idea is that the Security bundle will intercept your post to / security_check and handle your posted query for you. Also you've mentioned /security_check in your post but in your config you have / login_check - so be careful in case these are meant to be the same thing.
Regarding an example, I have my full security and routing config here: http://groups.google.com/group/symfony-users/browse_thread/thread/b96cc13f518b4349 which should show some working parts for your purposes. Hope that helps Daniel On May 4, 7:30 pm, Amaury Leroux de Lens <ama...@lerouxdelens.com> wrote: > Hi ! > > i'm currently trying to authenticate users on a symfony2 app. > here is my security.yml :https://gist.github.com/954985 > > If i use http_basic, a user can login, more precisely, user is logged > in on secured pattern, so i assume my security config is ok. but my > goal is to use form_login (as configured in the previous > security.yml). With these parameters, form_login do not work for me : > I submit my form from /login, i'm redirected to /security_check > without any query executed to the database ( according to the debug > bar ) > > do someone see the problem here ? or have a good and fresh example on > how using form_login in symfony2 beta1 ? > > thanks ! -- 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