diff options
author | Valery Sizov <valery@gitlab.com> | 2014-10-27 12:08:44 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2014-10-27 12:08:44 +0200 |
commit | 21e8f43af38e20bf99c3e47d01dac9c0f7de3404 (patch) | |
tree | 785cf4806f15c6e1fa4397eebfa5d9262fececca /lib/api/internal.rb | |
parent | 477743a154e85c411e8a533980abce460b5669fc (diff) | |
parent | 6280b53f305e45d0e6c474dbcf684f0015aee385 (diff) | |
download | gitlab-ce-21e8f43af38e20bf99c3e47d01dac9c0f7de3404.tar.gz |
Merge branch 'master' into 7-4-stable
Conflicts:
CHANGELOG
VERSION
Diffstat (limited to 'lib/api/internal.rb')
-rw-r--r-- | lib/api/internal.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb index 9ac659f50fd..ebf2296097d 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -1,6 +1,10 @@ module API # Internal access API class Internal < Grape::API + before { + authenticate_by_gitlab_shell_token! + } + namespace 'internal' do # Check if git command is allowed to project # |