X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/673b58f96f3acfd0281c62a2a7f080825b6fb28b..cbb3c2bdf0843ad1fb0095cb5c4cefd83eb5507a:/config/initializers/oauth.rb diff --git a/config/initializers/oauth.rb b/config/initializers/oauth.rb index 421ca2bf9..122c2e651 100644 --- a/config/initializers/oauth.rb +++ b/config/initializers/oauth.rb @@ -52,6 +52,7 @@ module OpenStreetMap def oauth1_verify(request, options = {}, &block) signature = OAuth::Signature.build(request, options, &block) return false unless OauthNonce.remember(signature.request.nonce, signature.request.timestamp) + value = signature.verify if request.ssl? && !value http_request = request.dup