refactor login

This commit is contained in:
Bill Yang 2025-02-17 18:27:24 -08:00
parent e61ec28531
commit f5ce57f772
3 changed files with 75 additions and 66 deletions

View file

@ -29,8 +29,6 @@ export const initAuth = (allowList: string[]) => {
defaultCookieAttributes: {
sameSite: process.env.NODE_ENV === "production" ? "none" : "lax",
path: "/",
// httpOnly: true is default
// secure: false (implied by useSecureCookies false)
},
},
});