mirror of
https://github.com/elyby/accounts.git
synced 2025-01-12 06:52:04 +05:30
Disable csrf cookies for api
This commit is contained in:
parent
fff38553db
commit
262142a835
@ -58,6 +58,7 @@ return [
|
|||||||
],
|
],
|
||||||
'request' => [
|
'request' => [
|
||||||
'baseUrl' => '/api',
|
'baseUrl' => '/api',
|
||||||
|
'enableCsrfCookie' => false,
|
||||||
'parsers' => [
|
'parsers' => [
|
||||||
'*' => api\request\RequestParser::class,
|
'*' => api\request\RequestParser::class,
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user