0
我有这个在我的配置如何把“login_check”的背后防火墙Symfony2的安全配置
firewalls:
login_firewall:
pattern: ^/login$
anonymous: ~
secured_area:
pattern: ^/admin
form_login:
login_path: /login
check_path: /login_check
logout:
path: /logout
我的问题是,如果我用这个,然后我得到,如果使用
Unable to find the controller for path "/login_check" error
一切工作正常
pattern: ^/
Symfony decumentation说要把login_check放在防火墙后面,我不知道我该怎么做
谢谢哥们,它的工作 – user825904 2012-07-27 12:55:19