Skip to content

Commit

Permalink
Fix bug on error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
pitbulk committed Jun 7, 2015
1 parent a331dac commit ea2561e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/onelogin/ruby-saml/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def validate_in_response_to
return true if options[:matches_request_id].nil? || options[:matches_request_id].empty?
return true unless options[:matches_request_id] != in_response_to

error_msg = "The InResponseTo of the Response: #{in_response_to}, does not match the ID of the AuthNRequest sent by the SP: #{request_id}"
error_msg = "The InResponseTo of the Response: #{in_response_to}, does not match the ID of the AuthNRequest sent by the SP: #{options[:matches_request_id]}"
append_error(error_msg)
end

Expand Down

0 comments on commit ea2561e

Please sign in to comment.