FriendsOfSymfony / FOSUserBundle

Provides user management for your Symfony project. Compatible with Doctrine ORM & ODM, and custom storages.

Home Page:https://symfony.com/doc/master/bundles/FOSUserBundle/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No route found for "GET /login/"

GeekGuste opened this issue · comments

Hi
I installed and configured fosUserBundle 2.1 on symfony. I access the fosUserBundle routes in developer mode without any problem. But in production mode the roads are working except the / login when I try to connect (on the road / login) I have the following error: No route found for "GET / login /". I have this error in 2 projects and since 2 weeks. I need help to solve this problem.

I am using symfony 3.4.15

Yes I have added it. And fosuser other routes(/register, /profile, /logout...) are working in both the production and dev mode. Only the /login path is returning a Not Found Error in production mode but works in dev mode.

did you cleared the cache in prod?

Yes many times.

How do you clear the cache in prod?