Commit 6057b3229576bce72a7992389ac506aafb68b4c9

Authored by Thiago Ribeiro
1 parent db0570da

Add super(env) in else

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
lib/omniauth/strategies/remote_user.rb
@@ -10,9 +10,10 @@ module OmniAuth @@ -10,9 +10,10 @@ module OmniAuth
10 10
11 if cookies['gitlab_session'] != nil and !env['HTTP_REMOTE_USER'].blank? 11 if cookies['gitlab_session'] != nil and !env['HTTP_REMOTE_USER'].blank?
12 response.redirect "#{OmniAuth.config.path_prefix}/users/auth/env/" 12 response.redirect "#{OmniAuth.config.path_prefix}/users/auth/env/"
  13 + else
  14 + super(env)
13 end 15 end
14 16
15 - super(env)  
16 end 17 end
17 18
18 def request_phase 19 def request_phase