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
making previous default still work
  • Loading branch information
WebSpider committed Jul 20, 2017
commit c5a74c79b455ddc8ad1ce8ff173cf5c970cccbf0
2 changes: 1 addition & 1 deletion djangosaml2/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def login(request,
# do not sign the xml itself, instead use the sigalg to
# generate the signature as a URL param
sig_alg = getattr(conf, '_sp_authn_requests_signed_alg', False)
sigalg = SIG_RSA_SHA1 if sign_requests and sig_alg == 'sha1' else None
sigalg = SIG_RSA_SHA1 if sign_requests and sig_alg == 'sha1' or sig_alg==False else None
sigalg = SIG_RSA_SHA256 if sign_requests and sig_alg == 'sha256' else None
session_id, result = client.prepare_for_authenticate(
entityid=selected_idp, relay_state=came_from,
Expand Down