kleydon / prisma-session-store

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

Remove 'attempt to delete non-existent session' warning from destroy() #98

Closed kleydon closed 1 year ago

kleydon commented 1 year ago

This PR removes a log warning in destroy(), which fired whenever there was an attempt to delete a non-existent session.

This log warning has been alarming for users of the passport library (see issue #91); where login results in a call to req.session.regenerate(…), which in turn calls calls destroy() and then generate().

kleydon commented 1 year ago

:tada: This PR is included in version 3.1.8 :tada:

The release is available on:

Your semantic-release bot :package::rocket: