Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/jwks_controller.rb')
-rw-r--r--app/controllers/jwks_controller.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/jwks_controller.rb b/app/controllers/jwks_controller.rb
index 2e030cf46c4..fb190846ffa 100644
--- a/app/controllers/jwks_controller.rb
+++ b/app/controllers/jwks_controller.rb
@@ -2,9 +2,7 @@
class JwksController < Doorkeeper::OpenidConnect::DiscoveryController
def index
- if ::Feature.enabled?(:cache_control_headers_for_openid_jwks)
- expires_in 24.hours, public: true, must_revalidate: true, 'no-transform': true
- end
+ expires_in 24.hours, public: true, must_revalidate: true, 'no-transform': true
render json: { keys: payload }
end