From 24d5626e02c4bb7b25b811f9f3d111ffea5b2247 Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 24 Apr 2023 20:26:04 +0200 Subject: [PATCH] Fix crash when SSO_ACCOUNT_SETTINGS is not defined (#24628) --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index d59fe88105..5fec3bf173 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -128,7 +128,7 @@ class ApplicationController < ActionController::Base end def sso_account_settings - ENV.fetch('SSO_ACCOUNT_SETTINGS') + ENV.fetch('SSO_ACCOUNT_SETTINGS', nil) end def current_account