Le 09/06/2011 23:38, theinterned a écrit :
Hi,
I am trying to provided login at localized urls: /en/login, /fr/login
etc.
The locale seems to work okay for the login form, but the firewall
seems to have issues.
I am getting the following error:
"You must configure the check path to be handled by the firewall using
form_login in your security firewall configuration."
I tried the following:
firewalls:
main:
pattern: .*
form_login:
provider: fos_userbundle
login_path: /{_locale}/login
check_path: /{_locale}/login_check
I also tried this
firewalls:
main:
pattern: .*
form_login:
provider: fos_userbundle
login_path: /(en|fr)/login
check_path: /(en|fr)/login_check
Neither of these work.
Is there a way to do this?
the first one is now possible in the master branch.
--
Christophe | Stof
--
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