Skip to content

Commit 6f4e328

Browse files
fix: remove is_secure() check (ietf-tools#7579)
The real work happened in a previous commit, just nudging the patch version with this CC message.
1 parent 1210d42 commit 6f4e328

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/sync/views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ def notify(request, org, notification):
5252
password = request.POST.get("password") or request.GET.get("password")
5353

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

0 commit comments

Comments
 (0)