-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
wontfixThis will not be worked onThis will not be worked on
Description
Expected behavior
req.logout() without a callback should work, as it did before and as your docs show.
Actual behavior
Error is thrown: req#logout requires a callback function
- passport version: 0.6.0
This bug was introduced four days ago in this commit.
The branch that doesn't use session manager which you added later has done && done() as expected but the other one now checks whether done is a function and throws if it's not. It should probably also check for existence first.
sushiljainam-gt
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on