Skip to content

Commit 25b12bc

Browse files
author
Gitlab
committed
Finalize the response before returning to rack
1 parent b0b79f1 commit 25b12bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/omniauth/strategies/saml.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def callback_phase
3535
def other_phase
3636
if on_path?("#{request_path}/metadata")
3737
response = OmniAuth::Strategies::SAML::MetadataResponse.new
38-
Rack::Response.new(response.create(options), 200, { "Content-Type" => "application/xml" })
38+
Rack::Response.new(response.create(options), 200, { "Content-Type" => "application/xml" }).finish
3939
else
4040
call_app!
4141
end

0 commit comments

Comments
 (0)