You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I unfortunately don't have a simple test case to recreate for this. In my application, req.session.destroy() was not removing the session data from the database (effectively disabling the "sign out" functionality).
I found it have something to do with the callback being passed to remove. Changing the code to pass a valid, but noop callback fixed the issue.
I unfortunately don't have a simple test case to recreate for this. In my application,
req.session.destroy()
was not removing the session data from the database (effectively disabling the "sign out" functionality).I found it have something to do with the callback being passed to
remove
. Changing the code to pass a valid, but noop callback fixed the issue.The associated versions of modules I'm using are:
By the way, thanks for sharing this module!
The text was updated successfully, but these errors were encountered: