Unverified Commit b2508030 authored by Rajeev's avatar Rajeev Committed by GitHub
Browse files

Merge pull request #4373 from deveshMantra/sss

Issue #SB-19616 fix:added forwarded for token in headers
parents f2a0268d baaee50d
release-2.10.3 Tags unavailable
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -16,7 +16,8 @@ const getDeviceProfile = async (req, res) => {
'Cache-Control': 'no-cache',
'Content-Type': 'application/json',
'Authorization': 'Bearer ' + envHelper.PORTAL_API_AUTH_TOKEN,
'X-REAL-IP': req.headers['x-real-ip']
'X-REAL-IP': req.headers['x-real-ip'],
'X-FORWARDED-FOR': req.headers['x-real-ip']
}
};
try {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment