mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-02 02:57:15 +08:00
chore: Set secure and same-site attributes for session cookie
This commit is contained in:
parent
b184e754ce
commit
97af57a41c
@ -626,9 +626,12 @@ func handleProviderCallback(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
http.SetCookie(w, &http.Cookie{
|
||||
Name: "pokerogue_sessionId",
|
||||
Value: sessionToken,
|
||||
Path: "/",
|
||||
Name: "pokerogue_sessionId",
|
||||
Value: sessionToken,
|
||||
Path: "/",
|
||||
Secure: true,
|
||||
SameSite: http.SameSiteStrictMode,
|
||||
Domain: "beta.pokerogue.net",
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user