chore: Remove old auth cruft

This commit is contained in:
Bouncey
2019-03-04 21:03:46 +00:00
committed by mrugesh mohapatra
parent 081284c2d3
commit 0c23844793
7 changed files with 39 additions and 512 deletions

View File

@ -25,8 +25,6 @@ export function setAccessTokenToResponse(
};
const jwtAccess = jwt.sign({ accessToken }, jwtSecret);
res.cookie(jwtCookieNS, jwtAccess, cookieConfig);
res.cookie('access_token', accessToken.id, cookieConfig);
res.cookie('userId', accessToken.userId, cookieConfig);
return;
}