mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-12 07:36:07 +00:00
fix: prevent reuse of old attacks by re-POSTing same values
This commit is contained in:
@@ -552,6 +552,10 @@ class Units {
|
||||
header( "Location: a2b.php" );
|
||||
exit;
|
||||
}
|
||||
|
||||
// prevent re-use of the same attack via re-POSTing the same data
|
||||
$database->remA2b($data['id']);
|
||||
|
||||
header( "Location: build.php?id=39" );
|
||||
exit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user