From c29340669ce60e19aca391ac19da3b9d275f1687 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Sun, 10 Mar 2024 22:16:52 +1100 Subject: [PATCH] fix: Remove superfluous response write --- pkg/spamasaurusrex/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/spamasaurusrex/main.go b/pkg/spamasaurusrex/main.go index 4a0c703..945f088 100644 --- a/pkg/spamasaurusrex/main.go +++ b/pkg/spamasaurusrex/main.go @@ -56,7 +56,7 @@ func callbackHandler(w http.ResponseWriter, r *http.Request) { session.Values["token"] = token session.Save(r, w) - w.Write([]byte("Authentication successful!")) + // w.Write([]byte("Authentication successful!")) url := "https://alias.spamasaurus.com" http.Redirect(w, r, url, http.StatusAccepted)