From: Tom Hughes Date: Sat, 19 Nov 2011 17:11:54 +0000 (+0000) Subject: Add the OAuth verifier to 1.0a callbacks correctly X-Git-Tag: live~5991 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/7c621a6a046f854d2f5e6f248b229781cf0871da Add the OAuth verifier to 1.0a callbacks correctly --- diff --git a/app/controllers/oauth_controller.rb b/app/controllers/oauth_controller.rb index 295b01bb4..d4d1bd888 100644 --- a/app/controllers/oauth_controller.rb +++ b/app/controllers/oauth_controller.rb @@ -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