From f79a4a1284a716b8c45638e62db125f56c6b36b8 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Fri, 12 Apr 2024 08:10:13 +0000 Subject: [PATCH] feat: secure: true --- backend/controller/accapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/controller/accapi.go b/backend/controller/accapi.go index 839842c..d77cd0d 100644 --- a/backend/controller/accapi.go +++ b/backend/controller/accapi.go @@ -78,7 +78,7 @@ func (ar *AccountRouter) LoginAccount(c *gin.Context) { Value: token, Path: "/", Domain: domain, - Secure: false, + Secure: true, SameSite: http.SameSiteNoneMode, HttpOnly: true, MaxAge: 3600,