Skip to content

Commit e47b2c4

Browse files
ReeceReece
authored andcommitted
fix copy/paste error
1 parent 7e9ac0c commit e47b2c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

djangosaml2/views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ def login(request,
156156
# http://docs.oasis-open.org/security/saml/v2.0/saml-bindings-2.0-os.pdf
157157
binding = BINDING_HTTP_POST if getattr(conf, '_sp_authn_requests_signed', False) else BINDING_HTTP_REDIRECT
158158

159+
client = Saml2Client(conf)
159160
http_response = None
161+
160162
logger.debug('Redirecting user to the IdP via %s binding.', binding)
161163
if binding == BINDING_HTTP_REDIRECT:
162164
try:

0 commit comments

Comments
 (0)