fix: remove lamassu login-related filtering
fix: use logger instead of console
This commit is contained in:
parent
b9114b6a33
commit
2ff9ac5bcd
7 changed files with 11 additions and 46 deletions
|
|
@ -20,13 +20,9 @@ const getSecret = () => {
|
|||
|
||||
const hostname = options.hostname
|
||||
|
||||
const lamaDb = {
|
||||
query: (query, values, qrm) => db.query(query, values, qrm, false)
|
||||
}
|
||||
|
||||
router.use('*', session({
|
||||
store: new PgSession({
|
||||
pgPromise: lamaDb,
|
||||
pgPromise: db,
|
||||
tableName: USER_SESSIONS_TABLE_NAME
|
||||
}),
|
||||
name: 'lamassu_sid',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue