Skip to content

Commit 002b79e

Browse files
committed
Add a comment
1 parent 51fd916 commit 002b79e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/libs/Middleware/FraudMonitoring.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type FraudSignal = {
1414

1515
type FraudSignalFactory = (requestData?: Record<string, unknown>, responseData?: Record<string, unknown>) => FraudSignal | undefined;
1616

17+
// Flag commands that create new accounts so the fraud protection backend can detect invite spam.
1718
const createNewAccountCountSignal: FraudSignalFactory = (_, responseData) => {
1819
if (!responseData?.newAccountCount) {
1920
return undefined;

0 commit comments

Comments
 (0)