CORS: autorisation des 'credentials'

This commit is contained in:
wpetit 2020-02-19 12:02:12 +01:00
parent 0140e70967
commit 72e328ea1c
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
nelmio_cors:
defaults:
allow_credentials: true
origin_regex: true
allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']