Skip to content

Commit

Permalink
chore: remove is_secure() check (#7575)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards committed Jun 21, 2024
1 parent 66b3095 commit c8471d4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ietf/sync/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c8471d4

Please sign in to comment.