X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/05e212027339733cf39aa9b7536c3f5f69ba0962..6e7acd171fa81a73d64089a2a3be689921f428d8:/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