Skip to content

Commit 3bf6199

Browse files
Merge pull request #783 from peppelinux/issue_instant
Fix IssueInstant validation
2 parents 8a60225 + 723cd8e commit 3bf6199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ def verify(self, keys=None):
10441044
logger.error("Verification error on the response: %s", err)
10451045
raise
10461046
else:
1047-
if res is None:
1047+
if not res:
10481048
return None
10491049

10501050
if not isinstance(self.response, samlp.Response):

0 commit comments

Comments
 (0)