Comment out logging in fbAuth.js

This commit is contained in:
Clayton Wilson 2019-11-27 21:53:02 -05:00
parent f7ef0cb333
commit 0d8850c45d

View File

@ -4,12 +4,12 @@ const { admin, db } = require('./admin');
// The function will only execute if the user is logged in, or rather, they have // The function will only execute if the user is logged in, or rather, they have
// a valid token // a valid token
module.exports = (req, res, next) => { module.exports = (req, res, next) => {
console.log(req); // console.log(req);
console.log(req.body); // console.log(req.body);
console.log(req.headers); // console.log(req.headers);
console.log(req.headers.authorization); // console.log(req.headers.authorization);
console.log(JSON.stringify(req.body)); // console.log(JSON.stringify(req.body));
console.log(JSON.stringify(req.header)); // console.log(JSON.stringify(req.header));
let idToken; let idToken;