From 5319359e8850b45a88b0766c15ac812e97e27f88 Mon Sep 17 00:00:00 2001 From: Mohammed Sohail Date: Thu, 2 Jun 2022 11:51:19 +0300 Subject: [PATCH] patch: enable secure cookie --- internal/admin/auth.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/admin/auth.go b/internal/admin/auth.go index 7b037dd..00aa2f6 100644 --- a/internal/admin/auth.go +++ b/internal/admin/auth.go @@ -79,10 +79,10 @@ func cookieDefaults() *http.Cookie { cookie := new(http.Cookie) cookie.Name = "_ge_auth" - cookie.Path = "/" + cookie.Path = "/" cookie.SameSite = 3 cookie.HttpOnly = true - cookie.Secure = false + cookie.Secure = true return cookie -} \ No newline at end of file +}