X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7e5cbe87ed37f9cba8224fa4049047d7f981f66a..6f5167b86609674b2f38a355ea0c34abdca10ba8:/app/models/request_token.rb diff --git a/app/models/request_token.rb b/app/models/request_token.rb index adeabb184..ec38f7421 100644 --- a/app/models/request_token.rb +++ b/app/models/request_token.rb @@ -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?