X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/92ca4069957666065194e0b63de5b46261b8a21d..e9ad6d852c437a00e6cf9f0f529525a3b33d9901:/app/models/client_application.rb?ds=sidebyside diff --git a/app/models/client_application.rb b/app/models/client_application.rb index 4e3dffb99..b3abb82be 100644 --- a/app/models/client_application.rb +++ b/app/models/client_application.rb @@ -56,8 +56,7 @@ class ClientApplication < ApplicationRecord signature = OAuth::Signature.build(request, options, &block) return false unless OauthNonce.remember(signature.request.nonce, signature.request.timestamp) - value = signature.verify - value + signature.verify rescue OAuth::Signature::UnknownSignatureMethod false end