remove http only
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user