Make the device ichain base url configurable

This commit is contained in:
Henne Vogelsang 2019-02-15 01:08:43 +01:00
parent 5776b78702
commit 1e5013c346
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
2 changed files with 2 additions and 1 deletions

View file

@ -243,7 +243,7 @@ Devise.setup do |config|
# config.omniauth_path_prefix = "/my_engine/users/auth" # config.omniauth_path_prefix = "/my_engine/users/auth"
# You will always need to set this parameter. # You will always need to set this parameter.
config.ichain_base_url = "https://events.opensuse.org" config.ichain_base_url = ENV.fetch('OSEM_ICHAIN_BASE_URL', 'https://events.opensuse.org')
# Paths (relative to ichain_base_url) used by your proxy # Paths (relative to ichain_base_url) used by your proxy
# config.ichain_login_path = "ICSLogin/" # config.ichain_login_path = "ICSLogin/"

View file

@ -93,6 +93,7 @@
# Enable the usage of the devise ichain plugin # Enable the usage of the devise ichain plugin
# OSEM_ICHAIN_ENABLED=false # OSEM_ICHAIN_ENABLED=false
# OSEM_ICHAIN_BASE_URL=https://example.com
# ReCAPTCHA keys # ReCAPTCHA keys
# RECAPTCHA_SITE_KEY=1234 # RECAPTCHA_SITE_KEY=1234