conditionalize this for now

Signed-off-by: Ricky Elrod <relrod@redhat.com>
This commit is contained in:
Ricky Elrod 2018-04-05 22:12:00 +00:00
parent 57a98d07db
commit 1eddae4170

View file

@ -52,7 +52,11 @@ REQUIRE_LOGIN_TO_PASTE = False
# Authentication method
# This selects between either local users or oidc (OpenID Connect)
{% if env == 'staging' %}
AUTH_METHOD = 'oidc'
{% else %}
AUTH_METHOD = 'local'
{% endif %}
# OpenID Connect client secrets file
AUTH_OIDC_CLIENT_SECRETS = '/etc/modern-paste/client_secrets.json'