attempting to fix omniauth problem

This commit is contained in:
James Lopez 2016-02-18 18:47:35 +01:00
parent 3de6edd604
commit 9597920c63
1 changed files with 1 additions and 0 deletions

View File

@ -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"