Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
Project Page
Commits
3f2b0628
Commit
3f2b0628
authored
Jul 06, 2021
by
Rosanny Sihombing
Browse files
manage session
parent
a8127cf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
app.js
View file @
3f2b0628
...
@@ -30,7 +30,8 @@ app.use(session(
...
@@ -30,7 +30,8 @@ app.use(session(
{
{
resave
:
true
,
resave
:
true
,
saveUninitialized
:
true
,
saveUninitialized
:
true
,
secret
:
config
.
app
.
sessionSecret
//secret: config.app.sessionSecret
secret
:
'
thisisasecret-thisisasecret-thisisasecret
'
}
}
))
))
app
.
use
(
passport
.
initialize
())
app
.
use
(
passport
.
initialize
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment