From 1e0ddbc0eea9f97839954ac6b24c99feb4be6447 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Mon, 11 Mar 2024 14:42:01 +1100 Subject: [PATCH] fix: Add verbose debugging after session store --- pkg/spamasaurusrex/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/spamasaurusrex/main.go b/pkg/spamasaurusrex/main.go index ffbd82a..710d534 100644 --- a/pkg/spamasaurusrex/main.go +++ b/pkg/spamasaurusrex/main.go @@ -58,10 +58,11 @@ func callbackHandler(w http.ResponseWriter, r *http.Request) { log.Println(spew.Sdump(err)) return } - session.Values["token"] = token session.Save(r, w) + log.Println(spew.Sdump(session)) + // w.Write([]byte("Authentication successful!")) url := "https://alias.spamasaurus.com"