Fix crash when SSO_ACCOUNT_SETTINGS is not defined (#24628)
This commit is contained in:
		
							parent
							
								
									1ac9219b31
								
							
						
					
					
						commit
						e9a79d46cd
					
				@ -128,7 +128,7 @@ class ApplicationController < ActionController::Base
 | 
				
			|||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def sso_account_settings
 | 
					  def sso_account_settings
 | 
				
			||||||
    ENV.fetch('SSO_ACCOUNT_SETTINGS')
 | 
					    ENV.fetch('SSO_ACCOUNT_SETTINGS', nil)
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def current_account
 | 
					  def current_account
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user