Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
3 years ago
by
Rosanny Sihombing
Browse files
Options
Download
Email Patches
Plain Diff
manage session
parent
a8127cf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app.js
+2
-1
app.js
with
2 additions
and
1 deletion
+2
-1
app.js
+
2
-
1
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
())
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets