Commit 6057b3229576bce72a7992389ac506aafb68b4c9
1 parent
db0570da
Exists in
master
and in
2 other branches
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 | 10 | |
11 | 11 | if cookies['gitlab_session'] != nil and !env['HTTP_REMOTE_USER'].blank? |
12 | 12 | response.redirect "#{OmniAuth.config.path_prefix}/users/auth/env/" |
13 | + else | |
14 | + super(env) | |
13 | 15 | end |
14 | 16 | |
15 | - super(env) | |
16 | 17 | end |
17 | 18 | |
18 | 19 | def request_phase | ... | ... |