Skip to content

Commit

Permalink
HEXA-107 Allow admin users to manage data access at the data source /…
Browse files Browse the repository at this point in the history
… organization level

Security settings
  • Loading branch information
pvanliefland committed Mar 22, 2021
1 parent 6b9a7dc commit f308a68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@

# Additional security settings
SESSION_COOKIE_SECURE = os.environ.get("SESSION_COOKIE_SECURE", "true") != "false"
CSRF_COOKIE_SECURE = os.environ.get("CSRF_COOKIE_SECURE", "true") != "false"

# Internationalization
# https://docs.djangoproject.com/en/3.1/topics/i18n/
Expand Down
5 changes: 3 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ services:
depends_on:
- db
environment:
- DEBUG=true
- SESSION_COOKIE_SECURE=false
- CSRF_COOKIE_SECURE=false
- ALLOWED_HOSTS=*
- DATABASE_HOST=db
- DATABASE_PORT=5432
- DATABASE_NAME=hexa-app
- DATABASE_USER=hexa-app
- DATABASE_PASSWORD=hexa-app
- DEBUG=true
- SECRET_KEY='))dodw9%n)7q86l-q1by4e-2z#vonph50!%ep7_je)_=x0m2v-'
- SESSION_COOKIE_SECURE=false

0 comments on commit f308a68

Please sign in to comment.