Skip to content

Commit

Permalink
Added comment to ezpublish_rest.csrf_token_intention to avoid authe…
Browse files Browse the repository at this point in the history
…ntication issues (ezsystems#472)

* explained ezpublish_rest.csrf_token_intention line

* Update app/config/config.yml

Co-Authored-By: Adam Wójs <[email protected]>
  • Loading branch information
2 people authored and andrerom committed Oct 17, 2019
1 parent 3458313 commit ccc56e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ imports:
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
locale: en
# Identifier used to generate the CSRF token. Commenting this line will result in authentication
# issues both in AdminUI and REST calls
ezpublish_rest.csrf_token_intention: authenticate

# Configuration for Database connection, can have several connections used by eZ Repositories in ezplatform.yml
Expand Down

0 comments on commit ccc56e7

Please sign in to comment.