Commit b6640945 authored by Marco Mariani's avatar Marco Mariani

abilian: generate csrf token

parent 32c7fadf
......@@ -5,6 +5,7 @@ parts =
extranet-service
extranet-promise
config-staging-py
csrf-secret-key
[extranet-symlinks]
......@@ -44,3 +45,9 @@ mode = 600
# section config config-staging
[csrf-secret-key]
recipe = slapos.cookbook:generate.password
#no need to write other than in the json parameter file
#storage-path = $${directories:etc}/csrf_secret_key
bytes = 50
......@@ -45,8 +45,7 @@ json-output = $${buildout:directory}/abilian-config-extra.json
UNOCONV_LOCATION = ${unoconv-repository:location}/unoconv
BROKER_URL = redis://localhost:6379/2
CELERY_RESULT_BACKEND = redis://localhost:6379/2
SECRET_KEY = $${csrf-secret-key:passwd}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment