Commit 7c2208a6 authored by jose's avatar jose

using true instead of 1

parent f25e8e14
...@@ -18,7 +18,7 @@ class GitlabAccess ...@@ -18,7 +18,7 @@ class GitlabAccess
def exec def exec
if api.allowed?('git-receive-pack', @repo_name, @actor, @changes) if api.allowed?('git-receive-pack', @repo_name, @actor, @changes)
return 1 return true
else else
# reset GL_ID env since we stop git push here # reset GL_ID env since we stop git push here
ENV['GL_ID'] = nil ENV['GL_ID'] = nil
......
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