mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-10-27 02:55:29 +08:00
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 <[email protected]>