allow js cookie

This commit is contained in:
ACoolName 2024-05-25 02:01:26 +03:00
parent f70b34966b
commit 83828af13e

View File

@ -188,7 +188,7 @@ func (con Connection) signIn(c *gin.Context) {
return return
} }
c.SetCookie("auth", signedToken, -1, "", ".games.acooldomain.co", true, true) c.SetCookie("auth", signedToken, -1, "", ".games.acooldomain.co", true, false)
c.IndentedJSON(http.StatusOK, signedToken) c.IndentedJSON(http.StatusOK, signedToken)
} }