Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how setAttribute persist in session remember #2607

Open
cesarluna opened this issue Sep 14, 2017 · 2 comments
Open

how setAttribute persist in session remember #2607

cesarluna opened this issue Sep 14, 2017 · 2 comments

Comments

@cesarluna
Copy link

I have this code in my controller

        $token = $event->getAuthenticationToken();
        $token->setAttribute('company',$company);

When have enable rememberme and reset browser, the attribute not persist.
How can persist in session and remember session the attrribute?

@Tomsgu
Copy link

Tomsgu commented Jan 11, 2018

I don't really understand your issue, but it seems that it has nothing to do with fos user bundle. You can ask for help in stackoverflow or in symfony irc.

@cesarluna
Copy link
Author

ok, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants