Invalidate user cache on logout
This commit is contained in:
parent
091f054e8a
commit
c67de30d8c
|
@ -273,4 +273,5 @@ exports.platformLogout = async ({ ctx, userId, keepActiveSession }) => {
|
|||
userId,
|
||||
sessions.map(({ sessionId }) => sessionId)
|
||||
)
|
||||
await userCache.invalidateUser(userId)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue