From df3df75820c8c78c28979dcf3d2b31b7948b481f Mon Sep 17 00:00:00 2001 From: Settel Date: Sat, 26 Mar 2022 23:13:36 +0100 Subject: [PATCH] bugfix: http sites can't set cookies with secure=true --- server/src/handler/login.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/src/handler/login.go b/server/src/handler/login.go index 6e4315c..d1aecb4 100644 --- a/server/src/handler/login.go +++ b/server/src/handler/login.go @@ -12,7 +12,6 @@ func (authMux *AuthMux) createCookie() *http.Cookie { Path: "/", HttpOnly: true, MaxAge: -1, - Secure: true, SameSite: http.SameSiteLaxMode, } }