Skip to content

Commit b853919

Browse files
committed
Fix check for signed logout
``` ************* Module saml2.client src/saml2/client.py:225:27: E1101: Instance of 'Saml2Client' has no 'logout_requests_signed' member (no-member) ``` The reference should be through the config member of the Saml2Client object. Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent c82c3be commit b853919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def do_logout(self, name_id, entity_ids, reason, expire, sign=None,
222222
sign = True
223223

224224
if sign is None:
225-
sign = self.logout_requests_signed
225+
sign = self.config.logout_requests_signed
226226

227227
sigalg = None
228228
if sign:

0 commit comments

Comments
 (0)