mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-02 10:41:54 +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: {
|
||||
strategy: "jwt",
|
||||
},
|
||||
jwt: {
|
||||
maxAge: 60 * 60 * 24 * 60,
|
||||
},
|
||||
cookies: {
|
||||
sessionToken: {
|
||||
options: {
|
||||
maxAge: 60 * 60 * 24 * 60,
|
||||
},
|
||||
},
|
||||
},
|
||||
events: {
|
||||
signIn({ user, account }) {
|
||||
if (user.id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue