diff options
author | James Lopez <james@jameslopez.es> | 2016-02-18 18:47:35 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-02-18 18:47:35 +0100 |
commit | 9597920c6371db5555415705643ad26026d198fb (patch) | |
tree | 6887852ff0b22603d9ee5567e2bf5991c32c7ab9 /app/controllers/oauth | |
parent | 3de6edd6041a725aaffba95603d4eb2912627d42 (diff) | |
download | gitlab-ce-9597920c6371db5555415705643ad26026d198fb.tar.gz |
attempting to fix omniauth problem
Diffstat (limited to 'app/controllers/oauth')
-rw-r--r-- | app/controllers/oauth/authorizations_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/oauth/authorizations_controller.rb b/app/controllers/oauth/authorizations_controller.rb index 24025d8c723..874af5de243 100644 --- a/app/controllers/oauth/authorizations_controller.rb +++ b/app/controllers/oauth/authorizations_controller.rb @@ -7,6 +7,7 @@ class Oauth::AuthorizationsController < Doorkeeper::AuthorizationsController if pre_auth.authorizable? if skip_authorization? || matching_token? auth = authorization.authorize + reset_session redirect_to auth.redirect_uri else render "doorkeeper/authorizations/new" |