]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/client_application.rb
Completely remove form-action restrictions for OAuth callbacks
[rails.git] / app / models / client_application.rb
index c95ffc322ce722bba0ce9f44293c4b0b1cc1c5fd..ef1a0110ec8bbeac3ed28303e13b49ce7e2b365f 100644 (file)
@@ -72,7 +72,7 @@ class ClientApplication < ActiveRecord::Base
   end
 
   def credentials
-    @oauth_client ||= OAuth::Consumer.new(key, secret)
+    @credentials ||= OAuth::Consumer.new(key, secret)
   end
 
   def create_request_token(_params = {})