mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2025-02-22 14:22:48 +01:00
Remove cookie signature (#62)
This commit is contained in:
parent
6ed9bafc73
commit
a6f022cad2
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ var logger = require('./logger');
|
||||||
|
|
||||||
exports.authenticateUserWithCookie = (req, res, next) => {
|
exports.authenticateUserWithCookie = (req, res, next) => {
|
||||||
if(+common.rtl_sso) {
|
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(
|
res.set(
|
||||||
{
|
{
|
||||||
'Cache-Control': 'private, no-cache'
|
'Cache-Control': 'private, no-cache'
|
||||||
|
|
Loading…
Add table
Reference in a new issue