Skip to content

Commit

Permalink
Removal of console logs (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaviTrek authored Jan 6, 2023
1 parent 4ab979a commit c436696
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions express.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -261,7 +261,7 @@ passport.use('faforever', new OidcStrategy({


passport.serializeUser(function (user, done) {
console.log(user.data.attributes);

done(null, user);

});
Expand Down

0 comments on commit c436696

Please sign in to comment.