feat: update
This commit is contained in:
@@ -79,7 +79,7 @@ func (ctl *auth) Login(ctx fiber.Ctx, code, state, redirect string) error {
|
|||||||
ctx.Cookie(&fiber.Cookie{
|
ctx.Cookie(&fiber.Cookie{
|
||||||
Name: "token",
|
Name: "token",
|
||||||
Value: jwtToken,
|
Value: jwtToken,
|
||||||
Expires: time.Now().Add(6 * time.Hour),
|
Expires: time.Now().Add(24 * time.Hour),
|
||||||
HTTPOnly: true,
|
HTTPOnly: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user