fix: Remove superfluous response write

This commit is contained in:
Danny Bessems 2024-03-10 22:16:52 +11:00
parent 407895337b
commit c29340669c

View File

@ -56,7 +56,7 @@ func callbackHandler(w http.ResponseWriter, r *http.Request) {
session.Values["token"] = token session.Values["token"] = token
session.Save(r, w) session.Save(r, w)
w.Write([]byte("Authentication successful!")) // w.Write([]byte("Authentication successful!"))
url := "https://alias.spamasaurus.com" url := "https://alias.spamasaurus.com"
http.Redirect(w, r, url, http.StatusAccepted) http.Redirect(w, r, url, http.StatusAccepted)