Skip to content

Commit 4e85f73

Browse files
committed
remove redundant console.log();
1 parent 5aff3ae commit 4e85f73

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

middleware/auth.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ function authenticateToken(req, res, next) {
88

99
try {
1010
const payload = jwt.verify(token, process.env.TOKEN_SECRET);
11-
console.log('try');
1211
const decryptedIP = decrypt(payload.ip);
1312
if (decryptedIP !== req.ip) {
1413
res.status(403)

0 commit comments

Comments
 (0)