remove http only

This commit is contained in:
kandrusyak
2023-07-25 01:24:55 +03:00
parent 31fcc2863d
commit 61610b1009

View File

@@ -43,10 +43,9 @@ func Login(c echo.Context) (err error) {
}
c.SetCookie(&http.Cookie{
Name: "accessToken",
Value: _token,
HttpOnly: true,
Path: "/",
Name: "accessToken",
Value: _token,
Path: "/",
})
return c.JSON(http.StatusOK, u)