Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sessions in basic auth strategy #5

Closed
leepowelldev opened this issue Jan 12, 2013 · 1 comment
Closed

Sessions in basic auth strategy #5

leepowelldev opened this issue Jan 12, 2013 · 1 comment

Comments

@leepowelldev
Copy link

Is the session options still applicable in basic auth strategy as I can't see anything in the code that uses this option setting. If not then the documentation is out of date. Thanks.

@jaredhanson
Copy link
Owner

Setting the session option to false instructs passport not to serialize the user into the session. The relevant line of code is: https://github.com/jaredhanson/passport/blob/master/lib/passport/http/request.js#L41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants