Skip to content

Commit

Permalink
Silence verbose logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed May 19, 2022
1 parent 987b191 commit 46756e5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/sessionmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ SessionManager.prototype.logIn = function(req, user, options, cb) {
}
options = options || {};

console.log('SM: logIn');

if (!req.session) { return cb(new Error('Login sessions require session support. Did you forget to use `express-session` middleware?')); }

var self = this;
Expand Down Expand Up @@ -61,8 +59,6 @@ SessionManager.prototype.logOut = function(req, options, cb) {
}
options = options || {};

console.log('SM: logOut');

if (!req.session) { return cb(new Error('Login sessions require session support. Did you forget to use `express-session` middleware?')); }

var self = this;
Expand Down

0 comments on commit 46756e5

Please sign in to comment.