diff options
author | Sytse Sijbrandij <sytses@gmail.com> | 2014-06-13 17:13:00 +0200 |
---|---|---|
committer | Sytse Sijbrandij <sytses@gmail.com> | 2014-06-13 17:13:00 +0200 |
commit | e5d14c89a69e66a7f8615149ff8ddffe03cf55e0 (patch) | |
tree | ca2468cdd4c4404e4cf36d3aed36f32aa8a6dbf9 /lib | |
parent | fbb35036057bae352669ada607033cec65db880d (diff) | |
download | gitlab-ci-e5d14c89a69e66a7f8615149ff8ddffe03cf55e0.tar.gz |
Remove added file and rename runners token constant to registration token.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index fb57938..ded4118 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -22,7 +22,7 @@ module API end def authenticate_runners! - forbidden! unless params[:token] == GitlabCi::RUNNERS_TOKEN + forbidden! unless params[:token] == GitlabCi::REGISTRATION_TOKEN end def authenticate_runner! |