diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2016-06-15 14:59:37 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2016-06-15 14:59:37 +0200 |
commit | c32e61251e5afa9131f4c5d08f762a6e9f7de110 (patch) | |
tree | 8cc5b732aaa84db2c5bfa112f246fa4326248528 /lib/gitlab/backend/grack_auth.rb | |
parent | a4a85c269a4f3165914915ede4a9a7642057d105 (diff) | |
download | gitlab-ce-c32e61251e5afa9131f4c5d08f762a6e9f7de110.tar.gz |
Get rid of Gitlab::ShellEnv
Diffstat (limited to 'lib/gitlab/backend/grack_auth.rb')
-rw-r--r-- | lib/gitlab/backend/grack_auth.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/gitlab/backend/grack_auth.rb b/lib/gitlab/backend/grack_auth.rb index adbf5941a96..7e3f5abba62 100644 --- a/lib/gitlab/backend/grack_auth.rb +++ b/lib/gitlab/backend/grack_auth.rb @@ -1,5 +1,3 @@ -require_relative 'shell_env' - module Grack class AuthSpawner def self.call(env) @@ -61,11 +59,6 @@ module Grack end @user = authenticate_user(login, password) - - if @user - Gitlab::ShellEnv.set_env(@user) - @env['REMOTE_USER'] = @auth.username - end end def ci_request?(login, password) |