mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-05 11:06:28 +00:00
fixed bug
This commit is contained in:
@@ -19,14 +19,8 @@ const authenticateRefreshToken = (req, res, next) => {
|
||||
issuer: 'CMS Kereta Commuter Indonesia',
|
||||
};
|
||||
|
||||
winston.logger.info(
|
||||
`[ DEBUGGING REFRESH-TOKEN-PARTNER-USER ]: ${req.headers['refresh_token']}`
|
||||
);
|
||||
|
||||
console.log(req.headers);
|
||||
|
||||
jwt.verify(
|
||||
req.headers['refresh_token'],
|
||||
req.headers['refresh-token'],
|
||||
process.env.REFRESH_TOKEN_SECRET,
|
||||
verifyOptions,
|
||||
(err, data) => {
|
||||
|
||||
Reference in New Issue
Block a user