From 22df36c8143b31aec8fb924f514c0368fc4656a1 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sun, 15 May 2022 12:35:03 +0200 Subject: [PATCH] Reenable Secure cookies --- auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.go b/auth.go index ddd0f4d..03345c3 100644 --- a/auth.go +++ b/auth.go @@ -82,7 +82,7 @@ func completeAuth(w http.ResponseWriter, username string, email string, firstnam Expires: time.Now().Add(30 * 24 * time.Hour), HttpOnly: true, SameSite: http.SameSiteStrictMode, - //Secure: true, + Secure: true, }) return