X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8f6dbd403507edd14f04f3151c285e232607360..e29e49dc7c3d1d9f59679f09a5eba8a6b56854a2:/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) }