2012-07-17 19 views
0

这是我的安全登录设置如何与Symfony2的安全登录表单工作

form_login: 
       # the user is redirected here when he/she needs to login 
       login_path:      /login 

       # if true, forward the user to the login form instead of redirecting 
       use_forward:     false 

       # submit the login form here 
       check_path:      /login_check 

       # by default, the login form *must* be a POST, not a GET 
       post_only:      true 

我想问的是我需要做的控制器,并确定路线/登录和/登录检查

因为我没有任何地方定义的路线

回答