silverstripe / silverstripe-session-manager

Allow users to manage and revoke access to multiple login sessions across devices.
BSD 3-Clause "New" or "Revised" License
9 stars 6 forks source link

use orm cache in SessionManagerField #151

Closed lekoala closed 1 year ago

lekoala commented 1 year ago

calling ->Member on distinct object is never going to trigger ORM cache. Since the member is expected to be always the same, this leads to duplicate queries