I keep getting this error: You must configure the check path to be handled by the firewall using form_login in your security firewall configuration.
I tried this Symfony2.5 + FOSUserBundle check path apparently not found
firewalls:
main:
pattern: ^/
form_login:
login_path: fos_user_security_login
check_path: /login_check
provider: fos_userbundle
csrf_provider: form.csrf_provider
default_target_path: /
logout: true
in routing
fos_user:
resource: "@FOSUserBundle/Resources/config/routing/all.xml"
I'm at lost what to do at all.
config.yml
fos_user:
db_driver: orm
firewall_name: main
user_class: AppBundle\Entity\User