From 27fd1e28803cfef539521f45e3c617b93b6b285e Mon Sep 17 00:00:00 2001 From: boojack Date: Sat, 24 Dec 2022 08:31:37 +0800 Subject: [PATCH] chore: remove secure flag (#848) --- server/acl.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/acl.go b/server/acl.go index c2e33995..ccb67e81 100644 --- a/server/acl.go +++ b/server/acl.go @@ -27,7 +27,6 @@ func setUserSession(ctx echo.Context, user *api.User) error { Path: "/", MaxAge: 3600 * 24 * 30, HttpOnly: true, - Secure: true, } sess.Values[userIDContextKey] = user.ID err := sess.Save(ctx.Request(), ctx.Response())