Compare commits

..

2 Commits

Author SHA1 Message Date
4161abe098
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
2023-04-16 22:09:15 +02:00
8777d931a4
fix path for antiCsrfTokenExceptions
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
2023-04-16 22:07:57 +02:00

View File

@ -106,7 +106,7 @@ if (!Container::$request->session()->has('anti_csrf_token')) {
$appConfig = [ $appConfig = [
'antiCsrfTokenName' => 'anti_csrf_token', 'antiCsrfTokenName' => 'anti_csrf_token',
'antiCsrfTokenErrorResponse' => ['error' => 'no_valid_anti_csrf_token'], 'antiCsrfTokenErrorResponse' => ['error' => 'no_valid_anti_csrf_token'],
'antiCsrfTokenExceptions' => ['oauth/token'], 'antiCsrfTokenExceptions' => ['/oauth/token'],
'loginRouteId' => 'login', 'loginRouteId' => 'login',
'error404View' => 'error/404' 'error404View' => 'error/404'
]; ];