Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix copy/paste error
  • Loading branch information
Reece authored and Reece committed Apr 12, 2017
commit e47b2c49449a2197c6d3beaffa6683d2359e3181
2 changes: 2 additions & 0 deletions djangosaml2/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ def login(request,
# http://docs.oasis-open.org/security/saml/v2.0/saml-bindings-2.0-os.pdf
binding = BINDING_HTTP_POST if getattr(conf, '_sp_authn_requests_signed', False) else BINDING_HTTP_REDIRECT

client = Saml2Client(conf)
http_response = None

logger.debug('Redirecting user to the IdP via %s binding.', binding)
if binding == BINDING_HTTP_REDIRECT:
try:
Expand Down