chore: Set secure and same-site attributes for session cookie

This commit is contained in:
Frederico Santos 2024-07-21 14:58:53 +01:00
parent b184e754ce
commit 97af57a41c

View File

@ -629,6 +629,9 @@ func handleProviderCallback(w http.ResponseWriter, r *http.Request) {
Name: "pokerogue_sessionId", Name: "pokerogue_sessionId",
Value: sessionToken, Value: sessionToken,
Path: "/", Path: "/",
Secure: true,
SameSite: http.SameSiteStrictMode,
Domain: "beta.pokerogue.net",
}) })
} }