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
All checks were successful
rvr-nextgen/pipeline/head This commit looks good
Reviewed-on: #25
This commit is contained in:
commit
4161abe098
2
web.php
2
web.php
@ -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'
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user