remove http only
This commit is contained in:
@@ -48,6 +48,8 @@ func Login(c echo.Context) (err error) {
|
|||||||
Path: "/",
|
Path: "/",
|
||||||
MaxAge: 31536000,
|
MaxAge: 31536000,
|
||||||
Expires: time.Now().Add(24 * time.Hour),
|
Expires: time.Now().Add(24 * time.Hour),
|
||||||
|
Secure: true,
|
||||||
|
SameSite: 4,
|
||||||
})
|
})
|
||||||
|
|
||||||
return c.JSON(http.StatusOK, u)
|
return c.JSON(http.StatusOK, u)
|
||||||
|
|||||||
Reference in New Issue
Block a user