Make the device ichain base url configurable
This commit is contained in:
parent
f8266b29ee
commit
e523c2631e
2 changed files with 2 additions and 1 deletions
|
|
@ -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/"
|
||||||
|
|
|
||||||
|
|
@ -95,6 +95,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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue