bundles/travelynx: disable registration by default
This commit is contained in:
parent
afb6d21326
commit
e47c8ce341
2 changed files with 11 additions and 4 deletions
|
@ -33,6 +33,12 @@
|
|||
from => '${mail_from}',
|
||||
},
|
||||
|
||||
% if not enable_registration:
|
||||
registration => {
|
||||
disabled => 1,
|
||||
},
|
||||
% endif
|
||||
|
||||
ref => {
|
||||
issues => 'https://github.com/derf/travelynx/issues',
|
||||
source => 'https://github.com/derf/travelynx',
|
||||
|
|
|
@ -10,11 +10,12 @@ defaults = {
|
|||
'password': repo.vault.password_for('{} postgresql travelynx'.format(node.name)),
|
||||
'database': 'travelynx',
|
||||
},
|
||||
'workers': 4,
|
||||
'spare_workers': 2,
|
||||
'mail_from': 'travelynx@{}'.format(node.hostname),
|
||||
'cookie_secret': repo.vault.password_for('{} travelynx cookie_secret'.format(node.name)),
|
||||
'additional_cookie_secrets': set(),
|
||||
'cookie_secret': repo.vault.password_for('{} travelynx cookie_secret'.format(node.name)),
|
||||
'enable_registration': False,
|
||||
'mail_from': 'travelynx@{}'.format(node.hostname),
|
||||
'spare_workers': 2,
|
||||
'workers': 4,
|
||||
},
|
||||
'postgresql': {
|
||||
'roles': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue