We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51fd916 commit 002b79eCopy full SHA for 002b79e
1 file changed
src/libs/Middleware/FraudMonitoring.ts
@@ -14,6 +14,7 @@ type FraudSignal = {
14
15
type FraudSignalFactory = (requestData?: Record<string, unknown>, responseData?: Record<string, unknown>) => FraudSignal | undefined;
16
17
+// Flag commands that create new accounts so the fraud protection backend can detect invite spam.
18
const createNewAccountCountSignal: FraudSignalFactory = (_, responseData) => {
19
if (!responseData?.newAccountCount) {
20
return undefined;
0 commit comments