Add the OAuth verifier to 1.0a callbacks correctly
authorTom Hughes <tom@compton.nu>
Sat, 19 Nov 2011 17:11:54 +0000 (17:11 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 19 Nov 2011 17:11:54 +0000 (17:11 +0000)
app/controllers/oauth_controller.rb

index 295b01b..d4d1bd8 100644 (file)
@@ -59,7 +59,7 @@ protected
             "oauth_token=#{@token.token}" :
               @redirect_url.query + "&oauth_token=#{@token.token}"
             unless @token.oauth10?
-              @redirect_url.query + "&oauth_verifier=#{@token.verifier}"
+              @redirect_url.query += "&oauth_verifier=#{@token.verifier}"
             end
             redirect_to @redirect_url.to_s
           else