Commit 67269228 authored by Pawel Chojnacki's avatar Pawel Chojnacki

Bring back the token

parent 138a5577
......@@ -2,6 +2,7 @@ require 'prometheus/client/formats/text'
class MetricsController < ActionController::Base
protect_from_forgery with: :exception
include RequiresHealthToken
CHECKS = [
Gitlab::HealthChecks::DbCheck,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment