Skip to content

Commit 84ae548

Browse files
committed
fix
1 parent 7df674a commit 84ae548

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

api/controllers/Challenges.js

-2
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,6 @@ const submit = async (req, res) => {
466466

467467
}
468468
if (chall.max_attempts != 0) {
469-
console.log(chall.max_attempts)
470469
let count = 0
471470
if (NodeCacheObj.get("teamMode") && req.locals.username in usernameTeamCache) {
472471
console.log(req.body.chall)
@@ -483,7 +482,6 @@ const submit = async (req, res) => {
483482
type: 'submission'
484483
})
485484
}
486-
console.log(count)
487485
if (count >= chall.max_attempts) throw new Error('Exceeded');
488486
}
489487
if (req.body.flag.length > 1000) throw new Error('InvalidFlagLength');

0 commit comments

Comments
 (0)