From 964059e28aad76664234847cc3c3a5b60def33cb Mon Sep 17 00:00:00 2001 From: luciajanikova <19lucia99@gmail.com> Date: Mon, 10 Jul 2023 09:32:17 +0200 Subject: [PATCH] Small fix in release 3.5.0 --- app/controllers/health_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/health_controller.rb b/app/controllers/health_controller.rb index b14f27c..6a3742d 100644 --- a/app/controllers/health_controller.rb +++ b/app/controllers/health_controller.rb @@ -44,7 +44,7 @@ def index def environment_variables(keys = []) keys += %w(DATABASE_URL REDIS_URL SECRET_KEY_BASE) if Rails.env.production? || Rails.env.staging? keys += %w(UPVS_KS_SALT UPVS_PK_SALT) if Upvs.env.prod? - keys += %w(SSO_PROXY_SUBJECT) if (UpvsEnvironment.obo_support? || UpvsEnvironment.sso_support?) + keys += %w(SSO_PROXY_SUBJECT) if UpvsEnvironment.obo_support? keys += %w(SSO_SP_SUBJECT LOGIN_CALLBACK_URL LOGOUT_CALLBACK_URL) if UpvsEnvironment.sso_support? unset = keys.select { |v| ENV[v].blank? } raise "Unset environment variables #{unset.to_sentence}" if unset.any?