X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/64fb530581ffd21e2522e70e8a2d4c46d666f760..d9c17e930d7247375b7025dbeb7cec3fc1fb10cd:/vendor/plugins/oauth-plugin/lib/oauth/rails/controller_methods.rb diff --git a/vendor/plugins/oauth-plugin/lib/oauth/rails/controller_methods.rb b/vendor/plugins/oauth-plugin/lib/oauth/rails/controller_methods.rb index 668328b7e..68ef9d224 100644 --- a/vendor/plugins/oauth-plugin/lib/oauth/rails/controller_methods.rb +++ b/vendor/plugins/oauth-plugin/lib/oauth/rails/controller_methods.rb @@ -96,7 +96,7 @@ module OAuth def verify_oauth_signature begin valid = ClientApplication.verify_request(request) do |request| - self.current_token = ClientApplication.find_token(request.token) + self.current_token = OauthToken.find_token(request.token) logger.info "self=#{self.class.to_s}" logger.info "token=#{self.current_token}" # return the token secret and the consumer secret @@ -111,4 +111,4 @@ module OAuth end end end -end \ No newline at end of file +end