• Stan Hu's avatar
    Merge branch 'fix/application-settings-error-default-value' into 'master' · 8a494ecd
    Stan Hu authored
    Fix Error 500 when accessing application settings due to nil disabled OAuth sign-in sources
    
    ## What does this MR do?
    
    When upgrading to GitLab 8.8, an admin would encounter an Error 500 due to a `nil` `disabled_oauth_sign_in_sources`. This MR ensures that the value will be a blank array if empty.
    
    Closes #17564
    
    See merge request !4242
    8a494ecd
application_setting.rb 4.9 KB