From 3feb14c93e7abca618e74cfe4abbf30b3b39d0f3 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 13 Nov 2023 18:48:52 +0100 Subject: [PATCH] Authorize POST requests --- packages/realtime-compiler/src/Http/LiveEditController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/realtime-compiler/src/Http/LiveEditController.php b/packages/realtime-compiler/src/Http/LiveEditController.php index 10fb78f2f75..764d433af40 100644 --- a/packages/realtime-compiler/src/Http/LiveEditController.php +++ b/packages/realtime-compiler/src/Http/LiveEditController.php @@ -16,7 +16,7 @@ class LiveEditController extends BaseController public function handle(): Response { - // TODO: Implement handle() method. + $this->authorizePostRequest(); } public static function enabled(): bool