allow js cookie
This commit is contained in:
parent
f70b34966b
commit
83828af13e
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user