Merge branch 'main' into 911_sigin_captcha

This commit is contained in:
notmd
2023-01-29 23:34:04 +07:00
155 changed files with 6347 additions and 1905 deletions
@@ -150,6 +150,21 @@ const authOptions: AuthOptions = {
}
},
},
/*
* We maybe need this, we maybe don't. Checking in this uncommented until
* it's confirmed we can drop this.
cookies: {
sessionToken: {
name: `next-auth.session-token`,
options: {
httpOnly: true,
sameSite: "none",
path: "/",
secure: true,
},
},
},
*/
session: {
strategy: "jwt",
},