Merge pull request 'fix path for antiCsrfTokenExceptions' (!25) from bugfix/fix-path-for-csrf-exceptions into master
All checks were successful
rvr-nextgen/pipeline/head This commit looks good

Reviewed-on: #25
This commit is contained in:
Bence Pőcze 2023-04-16 22:09:15 +02:00 committed by Gitea
commit 4161abe098
Signed by: Gitea
GPG Key ID: 7B89B83EED9AD2C6

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