fix: prevent reuse of old attacks by re-POSTing same values

This commit is contained in:
Martin Ambrus
2017-11-24 10:17:54 +01:00
parent c06c62ba6a
commit 12fe632bf4
3 changed files with 14 additions and 0 deletions
+3
View File
@@ -97,6 +97,9 @@
$database->modifyUnit($getFLData['wref'], $uname2, $amounts, $modes);
$database->addMovement(3,$getFLData['wref'],$data['to_vid'],$reference,time(),($time+time()));
// prevent re-use of the same attack via re-POSTing the same data
$database->remA2b($data['id']);
}
}
}