Skip to content

Commit cd24ece

Browse files
author
Roland Hedberg
committed
Whatever is defined in the configuration is the default.
1 parent 2db8008 commit cd24ece

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/saml2/client_base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,9 @@ def create_authn_request(self, destination, vorg="", scoping=None,
301301
except KeyError:
302302
pass
303303

304+
if sign is None:
305+
sign = self.authn_requests_signed
306+
304307
if (sign and self.sec.cert_handler.generate_cert()) or \
305308
client_crt is not None:
306309
with self.lock:

0 commit comments

Comments
 (0)