Closed alixcertem closed 1 year ago
Hello Alix,
Thanks for your interest in this bundle.
Fortunately, this bundle doesn't modify the user session, the framework is doing it for us. That is the reason why we are using an Authenticator.
Therefore, the feature you're asking us is out of scope here and it's not up to this bundle to take care of it.
Feel free to reopen the issue if you have more question.
Have a good day.
Hello Drupol,
Thanks for your fast response. Can you tell me how do you use the session user with your application/framework ? I am interesting if you have a solution for that.
Thanks in advance.
I just let the Authenticator do it's job and then you can retrieve the authenticated user everywhere in the application.
We actually do not manipulate the session.
Ok, thanks. You tell "do not manipulate the session", but in your bundle, after authentification, can i load page by using custom locale, for example defined by the user in her profile ? Not to mention session.
Thanks in advance.
This bundle is only responsible for authenticating users. Everything that goes after that, it's not handled in here.
Just look at the source code of this bundle, you'll see that we are not modifying or hard-setting values in the session.
Ok, thanks.
Hello, not a bug but a question. I use actually l3/cas-bundle and the locale "sticky" during user's session doesn't work (see doc for example : https://symfony.com/doc/5.4/session.html#making-the-locale-sticky-during-a-user-s-session). Have you try this feature on your bundle ? and if yes, does it work ? Thank in advance.