diff --git a/backend/controller/accapi.go b/backend/controller/accapi.go index 77d685b..43deac4 100644 --- a/backend/controller/accapi.go +++ b/backend/controller/accapi.go @@ -89,7 +89,7 @@ func (ar *AccountRouter) LoginAccount(c *gin.Context) { Domain: domain, Secure: true, SameSite: http.SameSiteNoneMode, - HttpOnly: true, + HttpOnly: false, MaxAge: 3600, }) } else { @@ -101,7 +101,7 @@ func (ar *AccountRouter) LoginAccount(c *gin.Context) { Domain: domain, Secure: true, SameSite: http.SameSiteStrictMode, - HttpOnly: true, + HttpOnly: false, MaxAge: 3600, }) }