kleydon / prisma-session-store

Express session store for Prisma
MIT License
116 stars 18 forks source link

check for session expiresAt #115

Closed nakahara-d closed 10 months ago

nakahara-d commented 10 months ago

Shouldn’t you check the expiresAt of the session in get? The session may be expired.

https://github.com/kleydon/prisma-session-store/blob/2409fff567aa2603598cef3152cbc56cd7b665b4/src/lib/prisma-session-store.ts#L278-L300

kleydon commented 10 months ago

Thanks @nakahara-d - fixed in PR #116