How set login path with user locale? I tried
check_path: /{_locale}/login_check
and
check_path: /(en|ru)/login_check
but nothing ((
Route config
fos_user_security:
resource: "@FOSUserBundle/Resources/config/routing/security.xml"
prefix: /{_locale}
Exception:
You must configure the check path to be handled by the firewall using
form_login in your security firewall configuration.
Hm, i didn’t recognized your
prefix: /{_locale}underYou should write route to your action in (for exmpl ofc)
routing.yml:and in
security.xml:Don’t forget to add
in your
app/config/routing.ymlfile.try it, gl.