mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 18:45:41 +01:00
Fix crash when SSO_ACCOUNT_SETTINGS is not defined (#24628)
This commit is contained in:
parent
1ac9219b31
commit
e9a79d46cd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue