mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-30 17:53:31 -04:00 
			
		
		
		
	fix: Make Frontend Respect TOKEN_TIME (#6089)
This commit is contained in:
		| @@ -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", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user