mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-10 20:05:38 +02:00
refactor login
This commit is contained in:
parent
e61ec28531
commit
f5ce57f772
3 changed files with 75 additions and 66 deletions
|
@ -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)
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue