Specify the preferred url scheme and the openid endpoint in stg for kerneltest

This commit is contained in:
Pierre-Yves Chibon 2014-11-07 10:27:29 +01:00
parent c5f62a3338
commit 8916a3779a

View file

@ -27,3 +27,12 @@ ALLOWED_MIMETYPES = ['text/plain', 'text/x-log']
# Restrict the size of content uploaded, this is 10Kb
MAX_CONTENT_LENGTH = 1024 * 10
# This is required to fix login
PREFERRED_URL_SCHEME='https'
{% if env == 'staging' %}
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/'
{% endif %}