Make the device ichain base url configurable

This commit is contained in:
Henne Vogelsang 2019-02-15 01:08:43 +01:00
parent f8266b29ee
commit e523c2631e
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"
# 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
# config.ichain_login_path = "ICSLogin/"

View file

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