diff --git a/functions/index.js b/functions/index.js index 7d3f0ee59..76e946e2e 100644 --- a/functions/index.js +++ b/functions/index.js @@ -547,10 +547,10 @@ exports.testCompleted = functions.https.onCall(async (request, response) => { if (verified === false || verified === undefined) { if (keySpacing !== null && keyDuration !== null) { if ( - (keySpacing.sd <= 15 || - keyDuration.sd <= 10 || - keyDuration.average < 15) && - obj.consistency < 70 + keySpacing.sd <= 15 || + keyDuration.sd <= 10 || + keyDuration.average < 15 || + (obj.wpm > 200 && obj.consistency < 60) ) { console.error( `possible bot detected by user (${obj.wpm} ${obj.rawWpm} ${