mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
ca991408c1
editVillageOwner, renameVillage, editBuildings and editResources are POSTed to directly, bypassing admin.php's central csrf_verify(). Add csrf_verify() (after the admin access check, via the shared GameEngine/Admin/csrf.php) and csrf_field() in their forms (editVillage.tpl, village.tpl, editResources.tpl). Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>