X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e657cff464b6db8384b56236ad9491223a22b1e2..50224b473bce736436d27c64bd46c1910e4d43ec:/app/models/request_token.rb?ds=sidebyside 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) }