mirror of
https://github.com/elyby/accounts.git
synced 2024-12-23 13:50:06 +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