fix: Remove superfluous response write
This commit is contained in:
parent
407895337b
commit
c29340669c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user