Commit e01300dd authored by Kamil Trzciński's avatar Kamil Trzciński

Fix update_runner_info helper

parent 7348d34c
module Ci
module API
module Helpers
UPDATE_RUNNER_EVERY = 60
def authenticate_runners!
forbidden! unless params[:token] == GitlabCi::REGISTRATION_TOKEN
end
......
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