~cytrogen/masto-fe

e9a79d46cd2d287b2c984d308ac7a6989efe3d53 — Claire 2 years ago 1ac9219
Fix crash when SSO_ACCOUNT_SETTINGS is not defined (#24628)

1 files changed, 1 insertions(+), 1 deletions(-)

M app/controllers/application_controller.rb
M app/controllers/application_controller.rb => app/controllers/application_controller.rb +1 -1
@@ 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