save uninitialized session. Potential fix for login not working on production
This commit is contained in:
parent
e7afbf4af7
commit
1320a7e52a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ app.use(
|
|||
expressSession({
|
||||
secret: secret.session,
|
||||
resave: true,
|
||||
saveUninitialized: false,
|
||||
saveUninitialized: true,
|
||||
})
|
||||
)
|
||||
app.use(passport.initialize())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue