Skip to content

Commit

Permalink
Fix check for nameid_format set to the string None
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Kanakarakis <[email protected]>
  • Loading branch information
c00kiemon5ter committed Jun 24, 2020
1 parent 156aee6 commit 4442254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/saml2/client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def create_authn_request(self, destination, vorg="", scoping=None,
else NAMEID_FORMAT_TRANSIENT
if nameid_format_config is None
else None
if nameid_format == 'None'
if nameid_format_config == 'None'
else nameid_format_config
)

Expand Down

0 comments on commit 4442254

Please sign in to comment.