feat: session table

This commit is contained in:
amhsirak
2025-03-23 13:52:57 +05:30
parent c63f127974
commit e1c9e9b16c

View File

@@ -47,6 +47,7 @@ app.use(
session({
store: new PgSession({
pool: pool,
tableName: 'session',
}),
secret: 'mx-session',
resave: false, // Do not resave the session if it hasn't changed