Handle deprecation of old config flag for FedOAuth
This commit is contained in:
parent
959e9b9f51
commit
997db6c6ba
1 changed files with 5 additions and 7 deletions
|
@ -1,14 +1,12 @@
|
|||
# Beware that the quotes around the values are mandatory
|
||||
|
||||
# GENERAL CONFIGURATION
|
||||
{% if env == 'staging' %}
|
||||
SQLALCHEMY_DATABASE_URI="postgresql://{{ fedoauth_db_user }}:{{ fedoauth_db_pass }}@{{ fedoauth_db_host }}.stg/{{ fedoauth_db_name }}"
|
||||
{% else %}
|
||||
SQLALCHEMY_DATABASE_URI="postgresql://{{ fedoauth_db_user }}:{{ fedoauth_db_pass }}@{{ fedoauth_db_host }}/{{ fedoauth_db_name }}"
|
||||
{% endif %}
|
||||
|
||||
|
||||
GLOBAL = {'reverse_proxied': True,
|
||||
{% if env == 'staging' %}
|
||||
'database_url': "postgresql://{{ fedoauth_db_user }}:{{ fedoauth_db_pass }}@{{ fedoauth_db_host }}.stg/{{ fedoauth_db_name }}",
|
||||
{% else %}
|
||||
'database_url': "postgresql://{{ fedoauth_db_user }}:{{ fedoauth_db_pass }}@{{ fedoauth_db_host }}/{{ fedoauth_db_name }}",
|
||||
{% endif %}
|
||||
'cookies_secure': True,
|
||||
'transactions_timeout': 5,
|
||||
'global_template_dir': '/usr/share/fedoauth/templates/global/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue