X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..fb78544d05fc3539e672d029b37e6e37bf9a610a:/app/models/request_token.rb diff --git a/app/models/request_token.rb b/app/models/request_token.rb index a1b30abb3..c0f019486 100644 --- a/app/models/request_token.rb +++ b/app/models/request_token.rb @@ -35,7 +35,7 @@ class RequestToken < OauthToken end def oob? - callback_url.nil? || callback_url.downcase == "oob" + callback_url.nil? || callback_url.casecmp("oob").zero? end def oauth10?