Commit 1b7e9d53 authored by ash's avatar ash

Show an 'access denied' message on stderr.

parent c2844b26
......@@ -25,6 +25,7 @@ class GitlabShell
else
message = "gitlab-shell: Access denied for git command <#{@origin_cmd}> by #{log_username}."
$logger.warn message
$stderr.puts "Access denied."
end
else
message = "gitlab-shell: Attempt to execute disallowed command <#{@origin_cmd}> by #{log_username}."
......
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