Skip to content

Commit

Permalink
feat: secure: true
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Apr 12, 2024
1 parent 647f3e1 commit f79a4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/controller/accapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f79a4a1

Please sign in to comment.