Skip to content

Commit 46756e5

Browse files
committedMay 19, 2022
Silence verbose logging.
1 parent 987b191 commit 46756e5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎lib/sessionmanager.js

-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ SessionManager.prototype.logIn = function(req, user, options, cb) {
1616
}
1717
options = options || {};
1818

19-
console.log('SM: logIn');
20-
2119
if (!req.session) { return cb(new Error('Login sessions require session support. Did you forget to use `express-session` middleware?')); }
2220

2321
var self = this;
@@ -61,8 +59,6 @@ SessionManager.prototype.logOut = function(req, options, cb) {
6159
}
6260
options = options || {};
6361

64-
console.log('SM: logOut');
65-
6662
if (!req.session) { return cb(new Error('Login sessions require session support. Did you forget to use `express-session` middleware?')); }
6763

6864
var self = this;

0 commit comments

Comments
 (0)
Please sign in to comment.