Hi Daniel, It worked! I think I really had a problem with the pattern and the naming. I ended up with this: security.yml (copied from yours) login: pattern: ^/login$ security: false
system: pattern: ^/[a-zA-Z]+ form_login: check_path: /login-check login_path: /login default_target_path: /monitor logout: path: /logout target: / public: pattern: ^/ security: false routing.yml login: pattern: /login defaults: { _controller: MyApplicationBundle:Login:login } _security_check: pattern: /login-check logout: pattern: /logout and the controller MyApplicationBundle:Login:login public function loginAction() { if ($this->get('request')->attributes->has(SecurityContext::AUTHENTICATION_ERROR)) { $error = $this->get('request')->attributes->get(SecurityContext::AUTHENTICATION_ERROR); } else { $error = $this->get('request')->getSession()->get(SecurityContext::AUTHENTICATION_ERROR); } return $this->render('EcompeteApplicationBundle:Login:index.html.twig', array( 'last_username' => $this->get('request')->getSession()->get(SecurityContext::LAST_USERNAME), 'error' => $error, )); } It's working just fine. My next step is to use the actual entity to use. Thanks a lot, Filipe La Ruina -- 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