Skip to content

Commit

Permalink
Removed Duplicate sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
AnveshNalimela committed Sep 24, 2024
1 parent 4e75f15 commit b0a258c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions config/config.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit b0a258c

Please sign in to comment.