Fix update_runner_info helper
This commit is contained in:
parent
7348d34cfd
commit
e01300ddb0
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
module Ci
|
||||
module API
|
||||
module Helpers
|
||||
UPDATE_RUNNER_EVERY = 60
|
||||
|
||||
def authenticate_runners!
|
||||
forbidden! unless params[:token] == GitlabCi::REGISTRATION_TOKEN
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue