]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/oauth_controller.rb
Merge remote-tracking branch 'upstream/pull/4699'
[rails.git] / app / controllers / oauth_controller.rb
index 7ab7f68359c52e7498ee6e5b0e15dcdda2dedeb1..cd7e48277a2517b23e49af4cdb31eddfd396a762 100644 (file)
@@ -66,7 +66,7 @@ class OauthController < ApplicationController
 
           @redirect_url.query += "&oauth_verifier=#{@token.verifier}" unless @token.oauth10?
 
-          redirect_to @redirect_url.to_s
+          redirect_to @redirect_url.to_s, :allow_other_host => true
         end
       else
         @token.invalidate!