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