fix: Make Frontend Respect TOKEN_TIME (#6089)

This commit is contained in:
Michael Genson
2025-09-03 00:56:54 -05:00
committed by GitHub
parent ff958a5015
commit bef3045e65

View File

@@ -142,7 +142,7 @@ export default defineNuxtConfig({
signInResponseTokenPointer: "/access_token", signInResponseTokenPointer: "/access_token",
type: "Bearer", type: "Bearer",
cookieName: AUTH_TOKEN, cookieName: AUTH_TOKEN,
maxAgeInSeconds: 604800, // 7 days maxAgeInSeconds: parseInt(process.env.TOKEN_TIME || "48") * 3600, // TOKEN_TIME is in hours
}, },
pages: { pages: {
login: "/login", login: "/login",