diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-11-08 12:28:50 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-11-08 12:28:50 +0300 |
commit | b579cc7620dad1d406e974cce2d9ad5a4ce58a57 (patch) | |
tree | f377a0458e3d57b7fe76e3a35a33430da9c9ff45 /config/initializers | |
parent | f2f58a60b76acd479e37bdbc9246ec9f9b2bea82 (diff) | |
parent | 4dea7944c46287707b6b65ca10e0af0b69a57a21 (diff) |
Merge branch 'feature-change-signout-route' into 'master'
Change Sign Out route from a DELETE to a GET
Closes #39708
See merge request gitlab-org/gitlab-ce!15231
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/devise.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index c6ec0aeda7b..958859be6cf 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -195,7 +195,7 @@ Devise.setup do |config| config.navigational_formats = [:"*/*", "*/*", :html, :zip] # The default HTTP method used to sign out a resource. Default is :delete. - config.sign_out_via = :delete + config.sign_out_via = :get # ==> OmniAuth # To configure a new OmniAuth provider copy and edit omniauth.rb.sample |