forked from jaredhanson/passport
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
076850c
commit 1a3c258
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
### Changed | ||
|
||
- `initialize()` middleware extends request with `login()`, `logIn()`, | ||
`logout()`, `logOut()`, `isAuthenticated()`, and `isUnauthenticated()` | ||
functions. | ||
|
||
### Removed | ||
|
||
- `login()`, `logIn()`, `logout()`, `logOut()`, `isAuthenticated()`, and | ||
`isUnauthenticated()` functions no longer added to `http.IncomingMessage.prototype`. | ||
|
||
### Fixed | ||
|
||
- `userProperty` option to `initialize()` middleware only affects the current | ||
request, rather than all requests processed via singleton Passport instance, | ||
eliminating a race condition in situations where `initialize()` middleware is | ||
used multiple times in an application with `userProperty` set to different | ||
values. |