Skip to content

Commit

Permalink
Finalize the response before returning to rack
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitlab committed Dec 17, 2012
1 parent b0b79f1 commit 25b12bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/saml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def callback_phase
def other_phase
if on_path?("#{request_path}/metadata")
response = OmniAuth::Strategies::SAML::MetadataResponse.new
Rack::Response.new(response.create(options), 200, { "Content-Type" => "application/xml" })
Rack::Response.new(response.create(options), 200, { "Content-Type" => "application/xml" }).finish
else
call_app!
end
Expand Down

0 comments on commit 25b12bc

Please sign in to comment.