FOSUserBundle icon indicating copy to clipboard operation
FOSUserBundle copied to clipboard

how setAttribute persist in session remember

Open cesarluna opened this issue 7 years ago • 2 comments

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?

cesarluna avatar Sep 14 '17 16:09 cesarluna

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.

Tomsgu avatar Jan 11 '18 13:01 Tomsgu

ok, thanks

cesarluna avatar Jan 11 '18 13:01 cesarluna