From c43669649a7e6c3219ad5057f9147d20d1a0998c Mon Sep 17 00:00:00 2001 From: Javi Trek <96269542+JaviTrek@users.noreply.github.com> Date: Thu, 5 Jan 2023 22:29:43 -0500 Subject: [PATCH] Removal of console logs (#430) --- express.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/express.js b/express.js index 7df7943e..175036f9 100644 --- a/express.js +++ b/express.js @@ -243,10 +243,10 @@ passport.use('faforever', new OidcStrategy({ return verified(null); } let user = JSON.parse(body); - console.log(accessToken) + user.data.attributes.token = accessToken; user.data.id = user.data.attributes.userId; - console.log(user.data.attributes); + return verified(null, user); } catch (e) { @@ -261,7 +261,7 @@ passport.use('faforever', new OidcStrategy({ passport.serializeUser(function (user, done) { - console.log(user.data.attributes); + done(null, user); });