Skip to content

Commit

Permalink
fix: remove is_secure() check (#7579)
Browse files Browse the repository at this point in the history
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
1 parent 1210d42 commit 6f4e328
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit 6f4e328

Please sign in to comment.