generators/oauth_provider/templates/request_token.rb in oauth-plugin-0.4.0.pre4 vs generators/oauth_provider/templates/request_token.rb in oauth-plugin-0.4.0.pre5
- old
+ new
@@ -28,13 +28,13 @@
"#{super}&oauth_callback_confirmed=true"
end
end
def oob?
- self.callback_url=='oob'
+ callback_url.nil? || callback_url.downcase == 'oob'
end
def oauth10?
(defined? OAUTH_10_SUPPORT) && OAUTH_10_SUPPORT && self.callback_url.blank?
end
-end
\ No newline at end of file
+end