cakephp / authentication

Authentication plugin for CakePHP. Can also be used in PSR7 based applications.
MIT License
115 stars 100 forks source link

Store only the original data in the impersonation session #608

Closed markstory closed 1 year ago

markstory commented 1 year ago

Identity objects could contain closures by fetching the original data we can serialize into the session more consistently. It also ensures that when we next build an identity that a new decorator is created.

Fixes #606