propro-utils 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-utils",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -77,7 +77,6 @@ class AuthMiddleware {
77
77
  const { returnTokens } = req.query;
78
78
 
79
79
  console.log('returnTokens:', returnTokens);
80
- console.log('email:', email);
81
80
 
82
81
  try {
83
82
  const response = await this.proxyToAuthServer(
@@ -308,7 +307,6 @@ class AuthMiddleware {
308
307
  '/api/v1/accounts/avatar'
309
308
  );
310
309
 
311
- res.cookie('account', response.data);
312
310
  res.status(response.status).json(response.data);
313
311
  } catch (error) {
314
312
  this.handleProxyError(error, res);