Remove cookie signature (#62)

This commit is contained in:
Nicolas Dorier 2019-02-25 00:03:03 +09:00 committed by ShahanaFarooqui
parent 6ed9bafc73
commit a6f022cad2

View file

@ -8,7 +8,7 @@ var logger = require('./logger');
exports.authenticateUserWithCookie = (req, res, next) => {
if(+common.rtl_sso) {
res.cookie('access-key', req.query['access-key'], { signed: true, httpOnly: true, sameSite: true, secure: true });
res.cookie('access-key', req.query['access-key'], { httpOnly: true, sameSite: true, secure: true });
res.set(
{
'Cache-Control': 'private, no-cache'