diff --git a/app.js b/app.js index 27b015d..e57611b 100644 --- a/app.js +++ b/app.js @@ -24,8 +24,6 @@ app.use(session({ secret: "my-super-key 1234567890", cookie: { maxAge: 24 * 60 * app.use(passport.initialize()); app.use(passport.session()) -app.use(passport.initialize()); -app.use(passport.session()) app.use(require('express-session')({ secret: 'your-secret-key', resave: false, diff --git a/config/config.json b/config/config.json index 5e89884..5119485 100644 --- a/config/config.json +++ b/config/config.json @@ -1,14 +1,14 @@ { "development": { "username": "postgres", - "password": "postgres", + "password": "anvesh", "database": "wd-lms-dev", "host": "127.0.0.1", "dialect": "postgres" }, "test": { "username": "postgres", - "password": "postgres", + "password": "anvesh", "database": "wd-lms-test", "host": "127.0.0.1", "dialect": "postgres"