mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-25 07:14:00 +08:00
chore: run anticheat for banned accounts
This commit is contained in:
parent
ff8464eef6
commit
27e66f7f8a
1 changed files with 1 additions and 2 deletions
|
@ -328,8 +328,7 @@ export async function addResult(
|
|||
completedEvent.wpm > 130 &&
|
||||
completedEvent.testDuration < 122 &&
|
||||
(user.verified === false || user.verified === undefined) &&
|
||||
user.lbOptOut !== true &&
|
||||
user.banned !== true //no need to check again if user is already banned
|
||||
user.lbOptOut !== true
|
||||
) {
|
||||
if (!completedEvent.keySpacingStats || !completedEvent.keyDurationStats) {
|
||||
const status = MonkeyStatusCodes.MISSING_KEY_DATA;
|
||||
|
|
Loading…
Reference in a new issue