feat: update

This commit is contained in:
yanghao05
2025-04-29 20:59:58 +08:00
parent dd702a5bee
commit 91dcc60588

View File

@@ -79,7 +79,7 @@ func (ctl *auth) Login(ctx fiber.Ctx, code, state, redirect string) error {
ctx.Cookie(&fiber.Cookie{
Name: "token",
Value: jwtToken,
Expires: time.Now().Add(6 * time.Hour),
Expires: time.Now().Add(24 * time.Hour),
HTTPOnly: true,
})