Showing Login Errors
diff --git a/applications/subscriberPortal/bs-config.js b/applications/subscriberPortal/bs-config.js
index 4acb4c6..f608075 100644
--- a/applications/subscriberPortal/bs-config.js
+++ b/applications/subscriberPortal/bs-config.js
@@ -51,8 +51,10 @@
req.url.indexOf('/xoslib/') !== -1 ||
req.url.indexOf('/hpcapi/') !== -1
){
+ console.log(req.headers)
if(req.headers['X-CSRFToken']){
req.headers['x-csrftoken'] = req.headers['x-csrftoken'];
+ req.headers.cookie = `xoscsrftoken=${req.headers['x-csrftoken']}; xossessionid=${req.headers['sessionid']}`;
}
proxy.web(req, res);
}