aboutsummaryrefslogtreecommitdiffstats
path: root/config/session.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-09-05 11:22:49 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-09-05 11:22:49 +0200
commit29b8334b060dc0c05a509d523ead4b3a30229fef (patch)
tree4dbfcfb90a3eff31acd219b27557bbdc594f589f /config/session.js
parentAdd cookie notice to login page (diff)
downloadferdium-server-29b8334b060dc0c05a509d523ead4b3a30229fef.tar.gz
ferdium-server-29b8334b060dc0c05a509d523ead4b3a30229fef.tar.zst
ferdium-server-29b8334b060dc0c05a509d523ead4b3a30229fef.zip
Add eslint
Diffstat (limited to 'config/session.js')
-rw-r--r--config/session.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/config/session.js b/config/session.js
index f49b9b7..bce28bd 100644
--- a/config/session.js
+++ b/config/session.js
@@ -1,6 +1,5 @@
1'use strict'
2 1
3const Env = use('Env') 2const Env = use('Env');
4 3
5module.exports = { 4module.exports = {
6 /* 5 /*
@@ -65,7 +64,7 @@ module.exports = {
65 cookie: { 64 cookie: {
66 httpOnly: true, 65 httpOnly: true,
67 path: '/', 66 path: '/',
68 sameSite: false 67 sameSite: false,
69 }, 68 },
70 69
71 /* 70 /*
@@ -78,7 +77,7 @@ module.exports = {
78 | 77 |
79 */ 78 */
80 file: { 79 file: {
81 location: 'sessions' 80 location: 'sessions',
82 }, 81 },
83 82
84 /* 83 /*
@@ -94,6 +93,6 @@ module.exports = {
94 port: 6379, 93 port: 6379,
95 password: null, 94 password: null,
96 db: 0, 95 db: 0,
97 keyPrefix: '' 96 keyPrefix: '',
98 } 97 },
99} 98};