Skip to content

Commit

Permalink
No need to guard callback existence.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed May 19, 2022
1 parent bfba8a1 commit 29a90d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sessionmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ SessionManager.prototype.logOut = function(req, options, cb) {
if (options.keepSessionData) {
Object.assign(req.session, prevSession);
}
cb && cb();
cb();
});
});
}
Expand Down

0 comments on commit 29a90d6

Please sign in to comment.