diff options
Diffstat (limited to 'src/saml2/response.py')
-rw-r--r-- | src/saml2/response.py | 2 |
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): |