mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-06 04:31:50 +02:00
🛂 Increase JWT exp time (#1607)
This commit is contained in:
parent
57406b8843
commit
547a24c6e1
1 changed files with 10 additions and 0 deletions
|
@ -55,6 +55,16 @@ const {
|
||||||
session: {
|
session: {
|
||||||
strategy: "jwt",
|
strategy: "jwt",
|
||||||
},
|
},
|
||||||
|
jwt: {
|
||||||
|
maxAge: 60 * 60 * 24 * 60,
|
||||||
|
},
|
||||||
|
cookies: {
|
||||||
|
sessionToken: {
|
||||||
|
options: {
|
||||||
|
maxAge: 60 * 60 * 24 * 60,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
events: {
|
events: {
|
||||||
signIn({ user, account }) {
|
signIn({ user, account }) {
|
||||||
if (user.id) {
|
if (user.id) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue