mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 00:04:23 -04:00
fix: Make Frontend Respect TOKEN_TIME (#6089)
This commit is contained in:
@@ -142,7 +142,7 @@ export default defineNuxtConfig({
|
||||
signInResponseTokenPointer: "/access_token",
|
||||
type: "Bearer",
|
||||
cookieName: AUTH_TOKEN,
|
||||
maxAgeInSeconds: 604800, // 7 days
|
||||
maxAgeInSeconds: parseInt(process.env.TOKEN_TIME || "48") * 3600, // TOKEN_TIME is in hours
|
||||
},
|
||||
pages: {
|
||||
login: "/login",
|
||||
|
||||
Reference in New Issue
Block a user