remove http only

This commit is contained in:
kandrusyak
2023-07-25 01:44:06 +03:00
parent 61610b1009
commit 7dc6a73c92

View File

@@ -46,6 +46,8 @@ func Login(c echo.Context) (err error) {
Name: "accessToken", Name: "accessToken",
Value: _token, Value: _token,
Path: "/", Path: "/",
MaxAge: 31536000,
Expires: time.Now().Add(24 * time.Hour),
}) })
return c.JSON(http.StatusOK, u) return c.JSON(http.StatusOK, u)