diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-23 12:05:55 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-23 12:05:55 +0200 |
commit | b746a931a5465b0ebf62e2a72e8fbea9e0f7433c (patch) | |
tree | 328a66cce306ecfe1da111d7e01e0e69c4982756 /app/controllers | |
parent | abb8f5837ee1fa72d13d255cf29f4ade35f53ece (diff) |
Fix OAuth authorization redirect
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/oauth/authorizations_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/oauth/authorizations_controller.rb b/app/controllers/oauth/authorizations_controller.rb index f5f05814e..e2d154597 100644 --- a/app/controllers/oauth/authorizations_controller.rb +++ b/app/controllers/oauth/authorizations_controller.rb @@ -1,5 +1,8 @@ class Oauth::AuthorizationsController < Doorkeeper::AuthorizationsController + skip_before_action :authenticate_resource_owner! + before_action :store_current_location + before_action :authenticate_resource_owner! private |