mirror of
https://github.com/wassname/talk.git
synced 2026-07-07 06:56:43 +08:00
Removing logs
This commit is contained in:
@@ -8,7 +8,6 @@ const router = express.Router();
|
||||
* This returns the user if they are logged in.
|
||||
*/
|
||||
router.get('/', (req, res, next) => {
|
||||
console.log('REQ.USER', req.user);
|
||||
|
||||
if (req.user) {
|
||||
return next();
|
||||
|
||||
@@ -210,7 +210,6 @@ passport.use(new JwtStrategy({
|
||||
// Load the user from the environment, because we just got a user from the
|
||||
// header.
|
||||
try {
|
||||
console.log(req.cookies, req.headers)
|
||||
|
||||
// Check to see if the token has been revoked
|
||||
await CheckBlacklisted(jwt);
|
||||
|
||||
Reference in New Issue
Block a user