Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged branch oscherler/security-routes (PR symfony#454)
This PR was merged into the master branch. Commits ------- 7eda9be Changed the login/check/logout paths in security.yml to route names. Discussion ---------- Use route names for login/check/logout paths in security.yml It might be a good idea to switch the firewall login, logout and check paths to route names in `security.yml`, if only to draw attention to the fact that it’s possible (and probably a good idea?): secured_area: pattern: ^/demo/secured/ form_login: check_path: _security_check login_path: _demo_login logout: path: _demo_logout target: _demo As mentioned in symfony/symfony#1493, it’s apparently the right way to do it if you want a localised login page. At least that’s what I had to do after I prefixed the FOSUserBundle routes with `/{_locale}/`. --------------------------------------------------------------------------- by brikou at 2012-12-01T07:21:17Z :+1:
- Loading branch information