From 8777d931a4d63c616ba7f5863d8d79da3a3e5898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 16 Apr 2023 22:07:57 +0200 Subject: [PATCH] fix path for antiCsrfTokenExceptions --- web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web.php b/web.php index 055d76a..a9cb13e 100644 --- a/web.php +++ b/web.php @@ -106,7 +106,7 @@ if (!Container::$request->session()->has('anti_csrf_token')) { $appConfig = [ 'antiCsrfTokenName' => 'anti_csrf_token', 'antiCsrfTokenErrorResponse' => ['error' => 'no_valid_anti_csrf_token'], - 'antiCsrfTokenExceptions' => ['oauth/token'], + 'antiCsrfTokenExceptions' => ['/oauth/token'], 'loginRouteId' => 'login', 'error404View' => 'error/404' ]; -- 2.45.2