Update config to add max age to session cookie (so it is no longer session-only and keep the user logged in)
This commit is contained in:
parent
f2d00097d6
commit
e7d0d69e55
|
|
@ -135,6 +135,7 @@ export default defineNuxtConfig({
|
||||||
runtimeConfig: {
|
runtimeConfig: {
|
||||||
session: {
|
session: {
|
||||||
password: '699c46bd-9aaa-4364-ad01-510ee4fe7013',
|
password: '699c46bd-9aaa-4364-ad01-510ee4fe7013',
|
||||||
|
maxAge: 60 * 60 * 24 *30,
|
||||||
},
|
},
|
||||||
database: 'db.sqlite',
|
database: 'db.sqlite',
|
||||||
mail: {
|
mail: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue