Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
to the API
This commit is contained in:
9
app/controllers/oauth/authorizations_controller.rb
Normal file
9
app/controllers/oauth/authorizations_controller.rb
Normal file
@ -0,0 +1,9 @@
|
||||
class Oauth::AuthorizationsController < Doorkeeper::AuthorizationsController
|
||||
before_action :store_current_location
|
||||
|
||||
private
|
||||
|
||||
def store_current_location
|
||||
store_location_for(:user, request.url)
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user