diff options
-rw-r--r-- | src/auth.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/auth.js b/src/auth.js index 8645d4c..f49ca38 100644 --- a/src/auth.js +++ b/src/auth.js | |||
@@ -91,8 +91,6 @@ passport.use(new BearerStrategy(function (token, done) { | |||
91 | })); | 91 | })); |
92 | 92 | ||
93 | exports.logout = function (req, res, next) { | 93 | exports.logout = function (req, res, next) { |
94 | console.log(req.authInfo); | ||
95 | |||
96 | delete gTokenStore[req.authInfo.accessToken]; | 94 | delete gTokenStore[req.authInfo.accessToken]; |
97 | 95 | ||
98 | next(new HttpSuccess(200, {})); | 96 | next(new HttpSuccess(200, {})); |