]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/client_application.rb
Move leaflet to be a yarn managed asset
[rails.git] / app / models / client_application.rb
index 4e3dffb998aba0081a61dd56b145420f47a7f3df..b3abb82be7d7af9c694f8cf0bf972c2c9abf03dd 100644 (file)
@@ -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)
 
     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
   rescue OAuth::Signature::UnknownSignatureMethod
     false
   end