]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/oauth_controller.rb
Bump osm-community-index from 5.6.1 to 5.6.2
[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!