X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/05e212027339733cf39aa9b7536c3f5f69ba0962..aa27228dea4c0ca3c8ab0b6716d2df97498aa785:/app/models/request_token.rb diff --git a/app/models/request_token.rb b/app/models/request_token.rb index 1be8c6902..d66fe6ce1 100644 --- a/app/models/request_token.rb +++ b/app/models/request_token.rb @@ -9,11 +9,9 @@ class RequestToken < OauthToken def exchange! return false unless authorized? RequestToken.transaction do - logger.info("£££ In exchange!") params = { :user => user, :client_application => client_application } # copy the permissions from the authorised request token to the access token client_application.permissions.each { |p| - logger.info("£££ copying permission #{p} = #{read_attribute(p).inspect}") params[p] = read_attribute(p) }