waiverdb role:fix the conditional check in the settings.py template
This commit is contained in:
parent
4a1e51c654
commit
6da940f3fd
1 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,8 @@ SQLALCHEMY_DATABASE_URI = 'postgresql://waiverdb-user@:{{ waiverdb_db_port }}/wa
|
|||
OIDC_CLIENT_SECRETS = '/etc/waiverdb/client_secrets.json'
|
||||
OIDC_REQUIRED_SCOPE = 'https://waiverdb.fedoraproject.org/oidc/create-waiver'
|
||||
OIDC_RESOURCE_SERVER_ONLY = True
|
||||
{% if env != "production" and env != "staging" %}
|
||||
{% if env == "production" or env == "staging" %}
|
||||
ZEROMQ_PUBLISH = True
|
||||
{% else %}
|
||||
ZEROMQ_PUBLISH = False
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue