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