diff options
author | Johannes Zellner <johannes@cloudron.io> | 2017-02-09 12:47:54 +0100 |
---|---|---|
committer | Johannes Zellner <johannes@cloudron.io> | 2017-02-09 12:47:54 +0100 |
commit | 7a5fd6540b6846475e4a355c68abb897ca8a4cb4 (patch) | |
tree | 5804fda82173e1e0f593fb53ed1a6013bc7d5e62 | |
parent | 4a27fce742a75881cd84607f4237624d8c0a0a22 (diff) | |
download | Surfer-7a5fd6540b6846475e4a355c68abb897ca8a4cb4.tar.gz Surfer-7a5fd6540b6846475e4a355c68abb897ca8a4cb4.tar.zst Surfer-7a5fd6540b6846475e4a355c68abb897ca8a4cb4.zip |
Remove console.log()
-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, {})); |