Christophe, Thanks for the response.
I'm aware that there are certain features missing from my example above. But I'm trying to keep this test case very limited so I can concentrate on the problem at hand; being that the check authentication is not working. On Mar 7, 9:29 am, Christophe COEVOET <s...@notk.org> wrote: > Le 07/03/2011 16:18, Donald a crit : > > > > > > > > > Hi Roger, > > > Thanks for the response. > > > I do have the _username and _password fields in my form, and the > > action of the form is pointing to the "_security_check" route. > > > I'm using the Doctrine UserProvider. > > > I have tried the routing config without the controller, and I just get > > the following error: > > > Unable to find the controller for path "/login_check". Maybe you > > forgot to add the matching route in your routing configuration? > > > Here's all the configuration that I think is relevant. Please let me > > know if you need anything else: > > > # app/config/security.yml > > security: > > access_denied_url: /error403 > > > providers: > > entity: > > entity: { class: UserBundle:User, property: username } > > > firewalls: > > main: > > form_login: true > > logout: true > > > # UserBundle/Resources/config/routing.yml > > _security_login: > > pattern: /login > > defaults: { _controller: UserBundle:Security:login } > > > _security_check: > > pattern: /login_check > > You should add the defaults to redirect to your login action when the > credentials are invalid. The current configuration does not define what > you want to do in this case. > > -- > Christophe | Stof -- 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