Skip to content

Commit

Permalink
Fix session attributes when getting all user sessions (#1326)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusOP authored Jan 4, 2024
1 parent f317b2b commit d93515d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lucia/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class Lucia<
expiresAt: databaseSession.expiresAt,
userId: databaseSession.userId,
fresh: false,
...this.getSessionAttributes(databaseSession)
...this.getSessionAttributes(databaseSession.attributes)
});
}
return sessions;
Expand Down

0 comments on commit d93515d

Please sign in to comment.