From 24d3bee8abddc97a06f33b2fac53a23208129737 Mon Sep 17 00:00:00 2001 From: Unbewohnte Date: Tue, 29 Oct 2024 09:25:10 +0300 Subject: [PATCH] Bugfix: Fix cookies not working on mobile --- src/server/endpoints.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/endpoints.go b/src/server/endpoints.go index a3ab00d..77849e5 100644 --- a/src/server/endpoints.go +++ b/src/server/endpoints.go @@ -92,7 +92,7 @@ func (s *Server) EndpointUserCreate(w http.ResponseWriter, req *http.Request) { SameSite: http.SameSiteStrictMode, HttpOnly: false, Path: "/", - Secure: true, + Secure: false, }) w.WriteHeader(http.StatusOK) } @@ -141,7 +141,7 @@ func (s *Server) EndpointUserLogin(w http.ResponseWriter, req *http.Request) { SameSite: http.SameSiteStrictMode, HttpOnly: false, Path: "/", - Secure: true, + Secure: false, }) w.WriteHeader(http.StatusOK) }