We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba41c2a commit 15c7e82Copy full SHA for 15c7e82
djangosaml2/views.py
@@ -147,7 +147,7 @@ def login(request,
147
148
kwargs = {}
149
# pysaml needs a string otherwise: "cannot serialize True (type bool)"
150
- if getattr(conf, '_sp_force_authn',False):
+ if getattr(conf, '_sp_force_authn'):
151
kwargs['force_authn'] = "true"
152
if getattr(conf, '_sp_allow_create', "false"):
153
kwargs['allow_create'] = "true"
0 commit comments