Disable csrf cookies for api

This commit is contained in:
ErickSkrauch 2018-07-11 01:38:48 +03:00
parent fff38553db
commit 262142a835

View File

@ -58,6 +58,7 @@ return [
],
'request' => [
'baseUrl' => '/api',
'enableCsrfCookie' => false,
'parsers' => [
'*' => api\request\RequestParser::class,
],