jaredhanson / passport

Simple, unobtrusive authentication for Node.js.
https://www.passportjs.org?utm_source=github&utm_medium=referral&utm_campaign=passport&utm_content=about
MIT License
22.92k stars 1.24k forks source link

req.logout not working with "local strategy" #246

Open pensierinmusica opened 10 years ago

pensierinmusica commented 10 years ago

The req.logout method doesn't seem to delete the session values when invoked.

I'm using passport-local and cookie-session, with Express.

It looks like similar issues are discussed on StackOverflow.

Any ideas what might be causing the problem?

YUSUF-SELEIM commented 5 months ago

Worked For me Thanks!!