1
0
Fork 0

chore: update max JWT age to 2 hours

closes #2
dufisgsd
Paul Makles 2023-08-10 12:25:03 +01:00
parent 991cbef040
commit 87c0fab107
No known key found for this signature in database
GPG Key ID: 5059F398521BB0F6
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ export const authOptions: AuthOptions = {
"https://sso.revolt.chat/application/o/admin-panel",
}),
],
jwt: {
maxAge: 2 * 60 * 60, // 2 hours
},
pages: {
signIn: "/",
},