Skip to content

Commit

Permalink
fix(session): do not store user in redis
Browse files Browse the repository at this point in the history
  • Loading branch information
onyxvd committed May 8, 2024
1 parent 7c55c77 commit bc26411
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/initializers/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ module.exports = upgradeInitializer('ah17', {
const sessionData = {
userId: user.id,
csrfToken,
sesionCreatedAt: new Date().getTime(),
user
sesionCreatedAt: new Date().getTime()
}

user.update({ lastLoginAt: new Date() }).then(function () {
Expand Down

0 comments on commit bc26411

Please sign in to comment.