Merge pull request 'fix path for antiCsrfTokenExceptions' () from bugfix/fix-path-for-csrf-exceptions into master

Reviewed-on: 
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

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