Skip to content

Commit

Permalink
refactor(flags): increase cookie expiration time (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
astyled authored May 2, 2024
1 parent b7e95ef commit 371faa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/user/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func EditAccount(c *fiber.Ctx) error {
Name: "flags",
Value: v,
Path: "/",
Expires: time.Now().Add(time.Hour * 24 * 30),
Expires: time.Now().Add(time.Hour * 24 * 30 * 6),
Secure: config.Production,
HTTPOnly: true,
SameSite: fiber.CookieSameSiteLaxMode,
Expand Down

0 comments on commit 371faa7

Please sign in to comment.