providers/saml: fix wrong signing property being checked

closes PASSBOOK-45
This commit is contained in:
Jens Langhammer
2020-04-10 21:52:03 +02:00
parent 7b9d1a1159
commit 9a1270c693
3 changed files with 3 additions and 10 deletions

View File

@ -82,7 +82,7 @@ def get_response_xml(parameters, saml_provider: SAMLProvider, assertion_id=""):
raw_response = render_to_string("saml/xml/response.xml", params)
if not saml_provider.signing:
if not saml_provider.signing_kp:
return raw_response
signature_xml = get_signature_xml()