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().
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 callsdestroy()
and thengenerate()
.