aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@cloudron.io>2017-02-09 12:47:54 +0100
committerJohannes Zellner <johannes@cloudron.io>2017-02-09 12:47:54 +0100
commit7a5fd6540b6846475e4a355c68abb897ca8a4cb4 (patch)
tree5804fda82173e1e0f593fb53ed1a6013bc7d5e62
parent4a27fce742a75881cd84607f4237624d8c0a0a22 (diff)
downloadSurfer-7a5fd6540b6846475e4a355c68abb897ca8a4cb4.tar.gz
Surfer-7a5fd6540b6846475e4a355c68abb897ca8a4cb4.tar.zst
Surfer-7a5fd6540b6846475e4a355c68abb897ca8a4cb4.zip
Remove console.log()
-rw-r--r--src/auth.js2
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
93exports.logout = function (req, res, next) { 93exports.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, {}));