feat: session table
This commit is contained in:
@@ -47,6 +47,7 @@ app.use(
|
|||||||
session({
|
session({
|
||||||
store: new PgSession({
|
store: new PgSession({
|
||||||
pool: pool,
|
pool: pool,
|
||||||
|
tableName: 'session',
|
||||||
}),
|
}),
|
||||||
secret: 'mx-session',
|
secret: 'mx-session',
|
||||||
resave: false, // Do not resave the session if it hasn't changed
|
resave: false, // Do not resave the session if it hasn't changed
|
||||||
|
|||||||
Reference in New Issue
Block a user