summaryrefslogtreecommitdiff
path: root/src/saml2/response.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/saml2/response.py')
-rw-r--r--src/saml2/response.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/response.py b/src/saml2/response.py
index 26963a04..9d4021ee 100644
--- a/src/saml2/response.py
+++ b/src/saml2/response.py
@@ -1044,7 +1044,7 @@ class AuthnResponse(StatusResponse):
logger.error("Verification error on the response: %s", err)
raise
else:
- if res is None:
+ if not res:
return None
if not isinstance(self.response, samlp.Response):