Fix crash when SSO_ACCOUNT_SETTINGS is not defined (#24628)

pull/24629/head
Claire 2023-04-24 20:26:04 +02:00 committed by GitHub
parent 1ac9219b31
commit e9a79d46cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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