mirror of
https://github.com/wassname/talk.git
synced 2026-10-27 13:20:15 +08:00
Removing logs
This commit is contained in:
1 parent
8171cb53e1
commit
8edc16ed85
2 files changed
-2
No files matched your search
@@ -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