We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7df674a commit 84ae548Copy full SHA for 84ae548
api/controllers/Challenges.js
@@ -466,7 +466,6 @@ const submit = async (req, res) => {
466
467
}
468
if (chall.max_attempts != 0) {
469
- console.log(chall.max_attempts)
470
let count = 0
471
if (NodeCacheObj.get("teamMode") && req.locals.username in usernameTeamCache) {
472
console.log(req.body.chall)
@@ -483,7 +482,6 @@ const submit = async (req, res) => {
483
482
type: 'submission'
484
})
485
486
- console.log(count)
487
if (count >= chall.max_attempts) throw new Error('Exceeded');
488
489
if (req.body.flag.length > 1000) throw new Error('InvalidFlagLength');
0 commit comments