summaryrefslogtreecommitdiff
path: root/lib/gitlab_shell.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab_shell.rb')
-rw-r--r--lib/gitlab_shell.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb
index 32ee2ac..a83d16a 100644
--- a/lib/gitlab_shell.rb
+++ b/lib/gitlab_shell.rb
@@ -15,6 +15,8 @@ class GitlabShell
parse_cmd
if git_cmds.include?(@git_cmd)
+ ENV['GL_USER'] = @username
+
process_cmd
else
puts 'Not allowed command'