Answer the question
In order to leave comments, you need to log in
Login/logout cache issue?
In the sales environment I
fill out the login form - the page is reloaded but instead of “hello user” it displays “please login” those {% if app.user %} is false
if the page is reloaded with the GET parameter ?_=123 then after that the condition becomes true
the same thing with the logout , the page is reloaded but continues to write “hello user” and only after reloading with the parameter ?_=321 does it change
how to do it more beautifully without garbage in the url?
Answer the question
In order to leave comments, you need to log in
It would be nice to show some code. security.yml there, controller, form, template code that it displays, entity if any, routing.
Purely, so that the eye would have something to catch on.
Well, I'll leave it here: symfony.com/doc/current/security.html
Well, I found it: symfony.com/doc/current/security.html#retrieving-t...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question