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