fix path for antiCsrfTokenExceptions
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good

This commit is contained in:
Bence Pőcze 2023-04-16 22:07:57 +02:00
parent 3ec7fc11fa
commit 8777d931a4
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

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