From c8471d47d375b1c340fd92d4203d18acd2ab26d1 Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Fri, 21 Jun 2024 11:33:00 -0300 Subject: [PATCH] chore: remove is_secure() check (#7575) --- ietf/sync/views.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ietf/sync/views.py b/ietf/sync/views.py index da407e1ef..87447111f 100644 --- a/ietf/sync/views.py +++ b/ietf/sync/views.py @@ -52,9 +52,6 @@ def notify(request, org, notification): password = request.POST.get("password") or request.GET.get("password") if username != None and password != None: - if settings.SERVER_MODE == "production" and not request.is_secure(): - permission_denied(request, "You must use HTTPS when sending username/password.") - if not user.is_authenticated: try: user = User.objects.get(username__iexact=username)