From 519038c30e322068b4c277cc421c8203474c409c Mon Sep 17 00:00:00 2001 From: Daniel Zhao Date: Tue, 21 Jan 2025 11:03:12 -0500 Subject: [PATCH] Removed logging before invalid auth --- backend/alert/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/alert/views.py b/backend/alert/views.py index 9b058856..d9a0fc7b 100644 --- a/backend/alert/views.py +++ b/backend/alert/views.py @@ -61,7 +61,7 @@ def accept_webhook(request): username, password = extract_basic_auth(auth_header) if username != settings.WEBHOOK_USERNAME or password != settings.WEBHOOK_PASSWORD: - logger.error("Credentials could not be verified") + # logger.error("Credentials could not be verified") ### Commented out to filter spam return HttpResponse( """Your credentials cannot be verified. They should be placed in the header as "Authorization-Bearer",