Skip to content

Commit 4442254

Browse files
committed
Fix check for nameid_format set to the string None
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 156aee6 commit 4442254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/saml2/client_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def create_authn_request(self, destination, vorg="", scoping=None,
363363
else NAMEID_FORMAT_TRANSIENT
364364
if nameid_format_config is None
365365
else None
366-
if nameid_format == 'None'
366+
if nameid_format_config == 'None'
367367
else nameid_format_config
368368
)
369369

0 commit comments

Comments
 (0)