aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Localization
diff options
context:
space:
mode:
authorElian Van Cutsem <hello@elian.codes>2026-07-11 14:04:07 +0200
committerElian Van Cutsem <hello@elian.codes>2026-07-11 14:04:07 +0200
commit47f567b6f1ad9729ad3721a5798cab03978300f5 (patch)
tree2813920479080d62ed24004fd68ab04364dc34ce /Emby.Server.Implementations/Localization
parent53aafcd38e1f4558ff18f5258d0d46b3a0565783 (diff)
Keep authenticated user entity in sync with persisted login timestamps
ExecuteUpdateAsync bypasses the EF change tracker, so the user entity returned by AuthenticateUser still carried the old LastLoginDate and LastActivityDate. SessionManager.LogSessionActivity then saved that stale entity in full, reverting LastLoginDate (usually to null) milliseconds after every login. Setting the properties on the entity keeps the follow-up save consistent and lets the 60-second activity guard skip the redundant write during login. Fixes #17301
Diffstat (limited to 'Emby.Server.Implementations/Localization')
0 files changed, 0 insertions, 0 deletions