summaryrefslogtreecommitdiff
path: root/src/saml2/client_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/saml2/client_base.py')
-rw-r--r--src/saml2/client_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saml2/client_base.py b/src/saml2/client_base.py
index fdbeadc2..5ec45425 100644
--- a/src/saml2/client_base.py
+++ b/src/saml2/client_base.py
@@ -126,8 +126,8 @@ class Base(Entity):
if v is False or v == 'false':
setattr(self, param, False)
- if self.entity_type == "sp" and not any(self.want_assertions_signed,
- self.want_response_signed):
+ if self.entity_type == "sp" and not any([self.want_assertions_signed,
+ self.want_response_signed]):
logger.warning("The SAML service provider accepts unsigned SAML Responses " +
"and Assertions. This configuration is insecure.")