fix path for antiCsrfTokenExceptions #25
2
web.php
2
web.php
@ -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'
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user