You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #59558 [Security] Unset token roles when serializing it and user implements EquatableInterface (nicolas-grekas)
This PR was merged into the 7.3 branch.
Discussion
----------
[Security] Unset token roles when serializing it and user implements EquatableInterface
| Q | A
| ------------- | ---
| Branch? | 7.3
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
When the user object implement EquatableInterface, we never read the roles stored in the token object that wraps the user in the session storage.
This PR ensures we don't store these roles either - they're just wasting space.
Commits
-------
b7c55c87bcb [Security] Unset token roles when serializing it and user implements EquatableInterface
0 commit comments