mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 08:14:30 -04:00
fix: Actually Fix Token Time (#6215)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { defineNuxtConfig } from "nuxt/config";
|
||||
|
||||
const AUTH_TOKEN = "mealie.auth.token";
|
||||
const AUTH_TOKEN = "mealie.access_token";
|
||||
|
||||
export default defineNuxtConfig({
|
||||
// Global page headers: https://go.nuxtjs.dev/config-head
|
||||
@@ -142,7 +142,6 @@ export default defineNuxtConfig({
|
||||
signInResponseTokenPointer: "/access_token",
|
||||
type: "Bearer",
|
||||
cookieName: AUTH_TOKEN,
|
||||
maxAgeInSeconds: parseInt(process.env.TOKEN_TIME || "48") * 3600, // TOKEN_TIME is in hours
|
||||
},
|
||||
pages: {
|
||||
login: "/login",
|
||||
|
||||
Reference in New Issue
Block a user