Skip to content

Commit 51a7926

Browse files
author
Roland Hedberg
committed
Wrong parameter order (spotted by Christopher Cooper)
1 parent c9d85e5 commit 51a7926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/client_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init__(self, config=None, identity_cache=None, state_cache=None,
119119

120120
for foo in ["allow_unsolicited", "authn_requests_signed",
121121
"logout_requests_signed"]:
122-
if self.config.getattr("sp", foo) == 'true':
122+
if self.config.getattr(foo, "sp") == 'true':
123123
setattr(self, foo, True)
124124
else:
125125
setattr(self, foo, False)

0 commit comments

Comments
 (0)