pagure-stg: Fix the FAS URL to use in staging

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2019-05-06 16:26:20 +02:00
parent ccab205977
commit f00b5c16c3

View file

@ -20,6 +20,11 @@ EMAIL_SEND = True
# This is required so that login specifies https
PREFERRED_URL_SCHEME='https'
{% if env == 'pagure-staging' %}
# OpenID server to use
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/'
{% endif %}
### url to the database server:
#DB_URL=mysql://user:pass@host/db_name
#DB_URL=postgres://user:pass@host/db_name
@ -50,8 +55,6 @@ DOMAIN_EMAIL_NOTIFICATIONS = 'pagure.io'
{% if env == 'pagure-staging' %}
APP_URL = 'https://stg.pagure.io/'
DOC_APP_URL = 'https://docs.stg.pagure.org'
FAS_BASE_URL = 'https://admin.stg.fedoraproject.org/accounts/'
{% else %}
APP_URL = 'https://pagure.io/'
DOC_APP_URL = 'https://docs.pagure.org'