Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos-caddy
Commits
b6640945
Commit
b6640945
authored
Jun 06, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abilian: generate csrf token
parent
32c7fadf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
software/abilian/extranet_spr/instance-extranet.cfg.in
software/abilian/extranet_spr/instance-extranet.cfg.in
+7
-0
software/abilian/extranet_spr/instance.cfg.in
software/abilian/extranet_spr/instance.cfg.in
+1
-2
No files found.
software/abilian/extranet_spr/instance-extranet.cfg.in
View file @
b6640945
...
...
@@ -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
software/abilian/extranet_spr/instance.cfg.in
View file @
b6640945
...
...
@@ -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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment