]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/request_token.rb
Merge remote-tracking branch 'upstream/pull/4996'
[rails.git] / app / models / request_token.rb
index adeabb18497ff4fd7e0556df56aecd16579a9be1..ec38f7421f47f70101b5bebc44a30279d11258f6 100644 (file)
@@ -73,7 +73,7 @@ class RequestToken < OauthToken
   end
 
   def oob?
-    callback_url.nil? || callback_url.casecmp("oob").zero?
+    callback_url.nil? || callback_url.casecmp?("oob")
   end
 
   def oauth10?