mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-06-02 22:26:57 -05:00
Change session cookie name
This commit is contained in:
parent
cf19bc7054
commit
3412597fd9
|
|
@ -8,8 +8,7 @@ if (process.env.NODE_ENV === "production") {
|
|||
}
|
||||
export const authSessionStorage = createCookieSessionStorage({
|
||||
cookie: {
|
||||
// xxx: if domain trick works this needs renaming to force people to log back in
|
||||
name: "_session",
|
||||
name: "__session",
|
||||
sameSite: "lax",
|
||||
// need to specify domain so that sub-domains can access it
|
||||
domain: process.env.NODE_ENV === "production" ? "sendou.ink" : undefined,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user