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
This release improves Passport's internals to avoid extending the prototype of the IncomingMessage class of Node.js's core http module. Instead, the login(), logIn(), logout(), logOut(), isAuthenticated(), and isUnauthenticated() functions are added directly to each request as it passes through passport.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 the userProperty option.
For more information, see the announcement on the blog and details in the CHANGELOG.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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