diff --git a/server/server.js b/server/server.js index ff19370..5824b9e 100644 --- a/server/server.js +++ b/server/server.js @@ -29,7 +29,10 @@ app.use(session({ store: new SessionStore(config.redis), resave: false, 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) => { diff --git a/views/layout.pug b/views/layout.pug index fdb435c..d296bf9 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -102,7 +102,3 @@ html .d-flex.justify-content-center a.btn-social#gitlab(href="https://gitlab.icynet.eu/IcyNetwork/" target="_blank") 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