conditionalize this for now
Signed-off-by: Ricky Elrod <relrod@redhat.com>
This commit is contained in:
parent
57a98d07db
commit
1eddae4170
1 changed files with 4 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue