rollerworks-graveyard / RollerworksMultiUserBundle

Multi user management for the FOSUserBundle - DISCONTINUED!!
MIT License
56 stars 21 forks source link

Removed session caching from the UserDiscriminator #15

Closed sstok closed 11 years ago

sstok commented 11 years ago
Q A
Bug fix? yes
New feature? no
BC breaks? yes, constructor of UserDiscriminator has changed
Deprecations? no
Tests pass? yes
Fixed tickets none, related to #12

This removes the session-cache from the UserDiscriminator, first the UserDiscriminator should not cache this and second because it gives some issues when the session-data is shared between users.

Caching of the discriminated user-system will be reintroduced in another PR, but must be enabled explicitly then. Which will also will introduce a new event 'USER_DISCRIMINATED' to inform that the active user-system has changed.