Passport v0.5.0 #849
jaredhanson
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release improves Passport's internals to avoid extending the prototype of the
IncomingMessage
class of Node.js's corehttp
module. Instead, thelogin()
,logIn()
,logout()
,logOut()
,isAuthenticated()
, andisUnauthenticated()
functions are added directly to each request as it passes throughpassport.initialize()
middleware.This releases also fixes a potential race condition in situations where
passport.initialize()
is used multiple times within an application with different values for theuserProperty
option.For more information, see the announcement on the blog and details in the CHANGELOG.
Beta Was this translation helpful? Give feedback.
All reactions