diff options
author | Robert Speicher <robert@gitlab.com> | 2017-07-27 19:22:52 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-07-27 19:22:52 +0300 |
commit | 066f4d8b715aa6c58bffe39b7f9fb35e6e6ff8a9 (patch) | |
tree | 301e3b9c9db6ec0007809567272b0d93978ba292 /config | |
parent | aafa3f9fe09fcd8468a8f4274492f63ebead941a (diff) | |
parent | 3d83181b81b9ef54a0b310e6ce2eabc7660a0040 (diff) |
Merge branch 'remove_custom_devise_failure_app' into 'master'
Remove GitLab custom failure app for Devise
See merge request !13136
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/devise.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 3b1317030bc..3aed2136f1b 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -192,7 +192,7 @@ Devise.setup do |config| # # The :"*/*" and "*/*" formats below is required to match Internet # Explorer requests. - # config.navigational_formats = [:"*/*", "*/*", :html] + config.navigational_formats = [:"*/*", "*/*", :html, :zip] # The default HTTP method used to sign out a resource. Default is :delete. config.sign_out_via = :delete @@ -206,11 +206,11 @@ Devise.setup do |config| # If you want to use other strategies, that are not supported by Devise, or # change the failure app, you can configure them inside the config.warden block. # - config.warden do |manager| - manager.failure_app = Gitlab::DeviseFailure - # manager.intercept_401 = false - # manager.default_strategies(scope: :user).unshift :some_external_strategy - end + # config.warden do |manager| + # manager.failure_app = Gitlab::DeviseFailure + # manager.intercept_401 = false + # manager.default_strategies(scope: :user).unshift :some_external_strategy + # end if Gitlab::LDAP::Config.enabled? Gitlab::LDAP::Config.providers.each do |provider| |