fix path for antiCsrfTokenExceptions #25

Merged
bence merged 1 commits from bugfix/fix-path-for-csrf-exceptions into master 2023-04-16 22:09:15 +02:00
Showing only changes of commit 8777d931a4 - Show all commits

View File

@ -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'
];