extend session expiry time, remove unused socials
This commit is contained in:
parent
ef4d2ecb0c
commit
6e07960150
@ -29,7 +29,10 @@ app.use(session({
|
|||||||
store: new SessionStore(config.redis),
|
store: new SessionStore(config.redis),
|
||||||
resave: false,
|
resave: false,
|
||||||
saveUninitialized: true,
|
saveUninitialized: true,
|
||||||
cookie: { secure: process.env.NODE_ENV !== 'development' }
|
cookie: {
|
||||||
|
secure: process.env.NODE_ENV !== 'development',
|
||||||
|
maxAge: 2678400 // 1 month
|
||||||
|
}
|
||||||
}))
|
}))
|
||||||
|
|
||||||
app.use((req, res, next) => {
|
app.use((req, res, next) => {
|
||||||
|
@ -102,7 +102,3 @@ html
|
|||||||
.d-flex.justify-content-center
|
.d-flex.justify-content-center
|
||||||
a.btn-social#gitlab(href="https://gitlab.icynet.eu/IcyNetwork/" target="_blank")
|
a.btn-social#gitlab(href="https://gitlab.icynet.eu/IcyNetwork/" target="_blank")
|
||||||
i.fa.fa-fw.fa-gitlab
|
i.fa.fa-fw.fa-gitlab
|
||||||
a.btn-social#twitter(href="https://twitter.com/IcyNet" target="_blank")
|
|
||||||
i.fa.fa-fw.fa-twitter
|
|
||||||
a.btn-social#discord(href="https://discord.gg/Xe7MKSx" target="_blank")
|
|
||||||
span
|
|
||||||
|
Reference in New Issue
Block a user