diff --git a/public/index.php b/public/index.php index 7167f4a..4a5b104 100644 --- a/public/index.php +++ b/public/index.php @@ -152,7 +152,6 @@ $getBundledOne = static function (Request $r, array $p) use ($scenariosDir): Res return (new GetBundledScenario($scenariosDir))->handle($r, $p); }; $getMatchView = static fn (Request $r, array $p): Response => (new GetMatchView())->handle($r, $p); -$secret = (string) ($_SERVER['__csrf_secret'] ?? ''); $postMatchMove = static function (Request $r, array $p) use ($secret): Response { return (new PostMatchMove($secret))->handle($r, $p); };