From 80d2d4671ecea9bf4ffdc954e3f7f8c401126349 Mon Sep 17 00:00:00 2001 From: Kestas Kuliukas Date: Fri, 23 Jul 2021 21:38:25 +0800 Subject: [PATCH] Added token to game create form .. a lot more otw --- gamecreate.php | 2 ++ locales/English/gamecreate.php | 3 +++ 2 files changed, 5 insertions(+) diff --git a/gamecreate.php b/gamecreate.php index a2cf7a987..5671c2a4f 100755 --- a/gamecreate.php +++ b/gamecreate.php @@ -42,6 +42,8 @@ { try { + libAuth::formToken_Valid(); + $form = $_REQUEST['newGame']; // This makes $form look harmless when it is unsanitized; the parameters must all be sanitized $input = array(); diff --git a/locales/English/gamecreate.php b/locales/English/gamecreate.php index 5594879f1..5d8327b19 100755 --- a/locales/English/gamecreate.php +++ b/locales/English/gamecreate.php @@ -341,6 +341,9 @@


+