Never use "5555" password

This commit is contained in:
Kalle
2023-09-27 21:22:03 +03:00
parent cd93ec4ac4
commit 2767af1e3d

View File

@@ -47,6 +47,11 @@ export function resolveRoomPass(matchId: TournamentMatch["id"]) {
const next = shuffle(opts)[0];
pass += next;
}
// prevent 5555 since many use it as a default pass
// making it a bit more common guess
if (pass === "5555") return "5800";
return pass;
}