I'm logged with an user and then if I login with the same user on another browser/device I want to disconnect the first user and allow access to this new user.
How to get this?
I'm logged with an user and then if I login with the same user on another browser/device I want to disconnect the first user and allow access to this new user.
How to get this?
I'm solved half.
I created this functionality following this link:
https://groups.google.com/d/msg/symfony2/pvBSmKl0g7I/yxYfgxH4IvwJ
It works but when option remember_me in security.yml and accessing checking this option doesn't works.
//security.yml
remember_me:
key: "%secret%"
lifetime: 3600
path: ^/
domain: ~
The user is still logged. What's the problem? Cookies?