Commit e01300dd authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix update_runner_info helper

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