added cookie
This commit is contained in:
parent
39f8b02c73
commit
f70b34966b
@ -188,7 +188,7 @@ func (con Connection) signIn(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.SetCookie("auth", signedToken, -1, "", "", false, true)
|
||||
c.SetCookie("auth", signedToken, -1, "", ".games.acooldomain.co", true, true)
|
||||
c.IndentedJSON(http.StatusOK, signedToken)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user