Skip to content
Merged
Changes from all commits
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
fix: remove is_secure() check
The real work happened in a previous commit,
just nudging the patch version with this CC
message.
  • Loading branch information
jennifer-richards committed Jun 21, 2024
commit 27a08ead7dfe98ad1fbfe1ed3d67a695af129da6
2 changes: 2 additions & 0 deletions ietf/sync/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def notify(request, org, notification):
password = request.POST.get("password") or request.GET.get("password")

if username != None and password != None:
# Used to reject non-https traffic here, but that's now enforced by a domain-wide upgrade
# from http to https. Django's request.is_secure() is always False now.
if not user.is_authenticated:
try:
user = User.objects.get(username__iexact=username)
Expand Down