Permalink
Browse files

Changed the login/check/logout paths in security.yml to route names.

  • Loading branch information...
1 parent f535047 commit 7eda9be2d1966de41d2776716d99c4990e1ef220 @gm-olivier gm-olivier committed Nov 30, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 app/config/security.yml
View
@@ -29,11 +29,11 @@ security:
secured_area:
pattern: ^/demo/secured/
form_login:
- check_path: /demo/secured/login_check
- login_path: /demo/secured/login
+ check_path: _security_check
+ login_path: _demo_login
logout:
- path: /demo/secured/logout
- target: /demo/
+ path: _demo_logout
+ target: _demo
#anonymous: ~
#http_basic:
# realm: "Secured Demo Area"

0 comments on commit 7eda9be

Please sign in to comment.